Please add a source reference (as an HTML comment) to saved HTML pages like IE and Chrome do.
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.
All Replies (1)
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
- Mozilla Discourse: https://discourse.mozilla.org/
- If none of the categories seem to fit, try https://discourse.mozilla.org/c/firefox-development
- Reddit (monitored by Mozilla): https://www.reddit.com/r/firefox/
- I saw someone created a Change.org petition but I don't know who sees those
Limited Length Comments
- Feedback site: https://qsurvey.mozilla.com/s3/FirefoxInput/
- Twitter (Mozilla official): https://twitter.com/firefox
Gewysig op