Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Change the way a page looks

Loading...

Sign in or sign up now!
1,550
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 31, 2008

How to change a page's "styles" in/with JavaScript

Please note this is client side.

If you couldn't catch what I wrote, here it is, BUT YouTube randomly adds spaces into typed code. Eg the word da ta

javascript:var nuStyle=document.createElement('link');nuStyle.rel='stylesheet';nuStyle.href='da­ta:text/css,* {background:#FFF !important; color:#000 !important} :link {color:#00F !important} :visited {color:#93C !important}';void(document.documentElement.childNodes[0].appendChild(nuStyle));

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (3)

Sign In or Sign Up now to post a comment!
  • teh video wont load.... ~_~

  • how the hell did u change the hypercam watermark

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more