Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Támogatás keresése

Kerülje el a támogatási csalásokat. Sosem kérjük arra, hogy hívjon fel egy telefonszámot vagy osszon meg személyes információkat. Jelentse a gyanús tevékenységeket a „Visszaélés bejelentése” lehetőséggel.

További tudnivalók

A témacsoportot lezárták és archiválták. Tegyen fel új kérdést, ha segítségre van szüksége.

Please add a source reference (as an HTML comment) to saved HTML pages like IE and Chrome do.

more options

When downloading (saving) an HTML page currently there is no reference to a source URL, where the page originally resides. It is often important to have this URL. IE and Chrome add comment somewhere at the top of the saved HTML document. Currently Firefox does not. It would be nice to have this feature in Firefox.

When downloading (saving) an HTML page currently there is no reference to a source URL, where the page originally resides. It is often important to have this URL. IE and Chrome add <!-- Saved from: ... --> comment somewhere at the top of the saved HTML document. Currently Firefox does not. It would be nice to have this feature in Firefox.

Összes válasz (1)

more options

Hi Michael, I wonder why Firefox didn't follow the way IE did it?

As a short-term workaround, you could use a little script to inject a canonical tag into the document. This may be a little harder to spot than a comment, but is a common way to indicate the URL of the authoritative version of a page.

So in the case of this page, that is:

<link rel="canonical" href="https://support.mozilla.org/en-US/questions/1285493" />

As an example of code to insert that tag (which you can run in Firefox's Web Console):

var c = document.createElement('link');
c.setAttribute('rel', 'canonical');
c.setAttribute('href', location.href);
document.getElementsByTagName('head')[0].appendChild(c);

If you save pages frequently, it would be more convenient to have a one-click method of inserting it, such as a bookmarklet. If it were earlier in the evening I would post one...

- - - - - - -

More generally: here in support new product ideas tend to get lost. You can submit feature suggestions using any of the following, depending on your desired style of interaction.

Discussion Sites/Advocacy

Limited Length Comments

Módosította: jscher2000 - Support Volunteer,