It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

JavaScript URL isn't working

JavaScript URL isn't working

Postby kdjuiopo on Mon Jul 11, 2011 9:31 am

Hey

I'm trying to change around websites (not permanently, just for fun) and tried this:

You know how some JS 'hacks' you type into the URL? I know about the contentEditable one, but I tried to make a simple one:

javascript: document.body.style.background='red';

But that just gives me a blank page saying 'red'. WTH?

How can I get it so the website actually turns red? Thanks
kdjuiopo
50+ Club
 
Posts: 90
Joined: Fri Jul 01, 2011 1:32 am

Re: JavaScript URL isn't working

Postby rajmv on Thu Jul 14, 2011 6:08 pm

You can't. Stop hacking and start coding apps. :p
rajmv
100+ Club
 
Posts: 103
Joined: Thu Jul 14, 2011 7:22 am


Who is online

Users browsing this forum: No registered users and 4 guests