How-To Geek
Remove Webpage Formatting or View the HTML Code When Copying in Firefox
Are you looking for the ability to do more than just copy formatted text (and images) in a webpage? Now you can easily copy the same areas as plain text or see the underlying html code with the Extended Copy Menu extension for Firefox.
Note: There is an Internet Explorer version available at the extension homepage.
Before
Usually when you select text and images in a webpage you only have one choice for copying both…which means getting all that “wonderful” formatting along with them.

And when you paste it you either have to “run” it through Notepad first to remove the formatting, paste as special, or simply accept the formatting. There has to be a better way…


After
Once you have installed the extension you are ready to go…there are no options that you have to bother with. As you can see here you get two additional “Context Menu Listings”. The first allows you to strip out all of the formatting immediately…


Leaving you with nice simple plain text ready for you to format and work with as you desire.


Or the second listing which does more than you may think…when you select “Copy as Html” you get…


The underlying html code along with all of the text. Not bad at all…especially if you were curious about the coding used to produce a certain look or style in a webpage. Now you can see just how it was done and incorporate it into your own website…


Conclusion
If you have wanted to enhance the “Copy Function” in Firefox then this just might be the extension that you have been waiting for.
Links
Download the Extended Copy Menu extension (Mozilla Add-ons)
Download the Extended Copy Menu extension (Extension Homepage)
Got Feedback? Join the discussion at discuss.howtogeek.com
Comments (4)
Akemi Iwaya (Asian Angel) is our very own Firefox Fangirl who enjoys working with multiple browsers and loves 'old school' role-playing games. Visit her on Twitter and Google+.
- Published 01/12/10




please gimme the code to copy the HTML code of the webpage…!
Thank you for this add-on to mozilla, it works so well.
The Mozilla extension won’t work if you have since upgraded your Firefox to version 6.
You need this one instead… https://addons.mozilla.org/en-US/firefox/addon/extended-copy-menu-fix-vers/