Join us to show up for other Firefox users 🦊. Earn fun badges and Mozilla swag vouchers! Find out more: https://mzl.la/askafox150

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

CTRL + S Changes HTML Content

  • 2 replies
  • 2 have this problem
  • 25 views
  • Last reply by cor-el
  • Solved

When I press ctrl + s (or navigate to the menu item for "save"), the browser saves the page to a file. This is the expected behavior, and I love it! However, it seems to change the actual HTML content.

For Example:

If I save a page that has the links like this:

<a href='google.com'>Google</a>

They turn out like this:

<a href="google.com">Google</a>


Don't see the difference? The quotes get changed from single to double. Although often this doesn't matter, I'm performing a regex search on the file, and I downloaded it so that I wouldn't have to fetch it from the server each time. It'd be nice if there was an option to create an exact copy of the page.

Is this available? Or could it be created?

Thanks!


Firefox Developer Edition 36.0a2 - however, the same thing happens with every version of Firefox Aurora update channel

When I press ctrl + s (or navigate to the menu item for "save"), the browser saves the page to a file. This is the expected behavior, and I love it! However, it seems to change the actual HTML content. For Example: If I save a page that has the links like this: <a href='google.com'>Google</a> They turn out like this: <a href="google.com">Google</a> Don't see the difference? The quotes get changed from single to double. Although often this doesn't matter, I'm performing a regex search on the file, and I downloaded it so that I wouldn't have to fetch it from the server each time. It'd be nice if there was an option to create an exact copy of the page. Is this available? Or could it be created? Thanks! Firefox Developer Edition 36.0a2 - however, the same thing happens with every version of Firefox Aurora update channel

Chosen solution

If you use "Web page, complete" then Firefox has to modify the source because link to locally saved files need to be corrected and thus Firefox formats links. If you use "Web page, HTML only" then Firefox doesn't need to do this.

Read this answer in context 👍 1

All Replies (2)

Next time, use Save As

Chosen Solution

If you use "Web page, complete" then Firefox has to modify the source because link to locally saved files need to be corrected and thus Firefox formats links. If you use "Web page, HTML only" then Firefox doesn't need to do this.