Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
Whenever I try to send an email using Hotmail, I always have to change the box to plain text as the rich text wouldn't allow me to type anything in the message body. Recently however (with the changes Hotmail have made), the plain text also won't allow me to type anything. Long story short, it turned out that this script was the problem. Adding |
|
|
Doesn't seem to work on SourceForce. |
|
|
This script seems to be breaking Gmail for me; disabling allows Gmail to load. Otherwise, it won't bring me to my inbox. |
|
|
@lootpacker: you're just two and a half years late. |
|
|
seems you beat me to it, very useful script btw. |
|
|
@dhongi: Yes, it can. Just change line 17
} else if(n.tagName != 'STYLE' && n.tagName != 'SCRIPT' && n.tagName != 'PRE') {
to } else if(n.tagName != 'STYLE' && n.tagName != 'SCRIPT') {
|
|
|
Wow, jusat what I was looking for, thanks. Can this script work for non-HTML pages, such as when we do "View CSS" or "View Source" using the Web Developer extension for Firefox? I use these features a lot but right now, I first copy the entire page to notepad and then read it. If this script could do it automatically in the browser itself, it'll be awesome. |
|
|
@BlueDrache, it's because the page you mentioned is using the PRE tags. You can include PRE tags by removing && n.tagName != 'PRE' in the script. |
|
|
Does not work as expected. See: |
|
|
Works perfectly. Thanks |
|
|
FYI, http://userscripts.org/scripts/show/2641 is a somewhat fancier version of this general approach. |
|
|
Updated |
|
|
You're welcome. |
|
|
Replace
document.body.innerHTML = document.body.innerHTML; With
document.body.parentNode.insertBefore(document.body, document.body); innerHTML breaks any eventListeners. |