X
Tapnite tukaj za mobilno različico spletne strani.

Forum za podporo

how to change saving webpage using title of the page as name

Objavljeno

After the recent update, whenever I save a webpage it uses the title of the page as the default name to save the page as. I want to change that to using the filename as the default save name. Can anyone tell me the process to do that if available? Thanks.

After the recent update, whenever I save a webpage it uses the title of the page as the default name to save the page as. I want to change that to using the filename as the default save name. Can anyone tell me the process to do that if available? Thanks.

Dodatne podrobnosti o sistemu

Nameščeni vtičniki

  • Google Update
  • Shockwave Flash 13.0 r0
  • Adobe PDF Plug-In For Firefox and Netscape 11.0.07
  • Adobe Shockwave for Director Netscape plug-in, version 12.1
  • VLC media player Web Plugin 2.1.3
  • Winamp Application Detector

Program

  • Uporabniški agent: Mozilla/5.0 (Windows NT 6.1; rv:30.0) Gecko/20100101 Firefox/30.0

Več informacij

cor-el
  • Top 10 Contributor
  • Moderator
17273 rešitev 156142 odgovorov

I know that the PrefBar extension comes with a button to save the page with the name of the file. I don't know if there are others, but you can try a search on the Add-ons page.

I know that the PrefBar extension comes with a button to save the page with the name of the file. I don't know if there are others, but you can try a search on the Add-ons page. *PrefBar: https://addons.mozilla.org/firefox/addon/prefbar/

Lastnik vprašanja

Still the same issue when I use the addon that you suggested. When I click on the Save Page button, it uses the title of the page as save name whereas I want to use the name of the html file as the save name. When I went into the edit option for "Save Page", it states saveDocument(window.content.document);

Do you know the code to change this to using html filename as the save name instead of the title of the page?

Still the same issue when I use the addon that you suggested. When I click on the Save Page button, it uses the title of the page as save name whereas I want to use the name of the html file as the save name. When I went into the edit option for "Save Page", it states saveDocument(window.content.document); Do you know the code to change this to using html filename as the save name instead of the title of the page?
cor-el
  • Top 10 Contributor
  • Moderator
17273 rešitev 156142 odgovorov

Koristen odgovor

You can try to set the page title to an empty string via a bookmarklet or via the Web Console (Firefox/Tools > Web Developer) to force using the file name.

  • javascript:void(document.title=);
You can try to set the page title to an empty string via a bookmarklet or via the Web Console (Firefox/Tools > Web Developer) to force using the file name. *javascript:void(document.title='');

Lastnik vprašanja

Thanks Edward27821 for replying. I did know about this method. Just time consuming to keep changing the filename. Wanted to know whether there is a way to set as default whenever you save a webpage to use the name of the hmtl file as the save name.

Thanks Edward27821 for replying. I did know about this method. Just time consuming to keep changing the filename. Wanted to know whether there is a way to set as default whenever you save a webpage to use the name of the hmtl file as the save name.

Spremenil xionchen4628

Lastnik vprašanja

Hi Cor-el. I got to the Web Console. Where do I need to put the line of code? Sorry for all the questions and thanks for taking the time to help.

Hi Cor-el. I got to the Web Console. Where do I need to put the line of code? Sorry for all the questions and thanks for taking the time to help.
cor-el
  • Top 10 Contributor
  • Moderator
17273 rešitev 156142 odgovorov

The Web Console has a command line at the bottom where you can enter commands after the prompt (>>).

The Web Console has a command line at the bottom where you can enter commands after the prompt (>>). *https://developer.mozilla.org/Tools/Web_Console