I'm copying some text from a web page into a TextEdit document. I want to be able to keep the color, but not the font or font size. Is that possible?

1 Answer 1


If you pop open your Web Inspector (or the equivalent in your browser) there will be a Javascript console. You can run your own code and apply your own styles to the page.

You could set all the text to be the same style, and leave the color alone:

var myStyle= document.createElement('style')
myStyle.textContent= "* { font:normal 16px/1.4 sans-serif !important; }"

Then copy the text. Good enough? :)

You can make a bookmarklet, so that you can do that in one click on any page.

<a href="javascript:(function(){/*...THE ABOVE CODE...*/})()">Magic</a>

Make a text file with that content, name it magic.html, open it and drag the link to your Bookmarks bar.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .