If someone's profile is getting to be a bit too.. much (e.g. mine [whoops]), you can use this script to clear their style tags.
for(var i of document.getElementsByTagName("style")){
i.innerHTML = "";
}
If someone's profile is getting to be a bit too.. much (e.g. mine [whoops]), you can use this script to clear their style tags.
for(var i of document.getElementsByTagName("style")){
i.innerHTML = "";
}
7 Kudos
Comments
Displaying 1 of 1 comments ( View all | Add Comment )
Gum Skyloard
How do we apply that?
Report Comment
On most browsers, you should have a "developer console". (typically opened with the F12 key.) Navigate to it's
console
tab, and copy and paste the script in. Doing this on a user's profile will delete (on your end) all of their user-defined style tags. This will revert after refreshing the page.An easier method of doing this would be to input it directly into the URL:
javascript:for(var i of document.getElementsByTagName("style")){i.innerHTML="";}
(You'll have to type the
javascript:
part yourself for security reasons.)by canto; ; Report
Oooh!
Isn't there anyway to make this a userscript, mayhaps? I'd say it'd be mighty convenient!
by Gum Skyloard; ; Report
theoretically you could turn it into a bookmarklet with the code i posted in my reply. as for a userscript:
by canto; ; Report