Here is a small collection of common Javascript commands for use on websites. DON'T try to use these anywhere on Neopets, because they have blocked Javascript commands (and almost everything else) due to scammers. Most of these will only work for Internet Explorer. There's an asterik (*) after the description of every command. In some cases, there are simpler HTML code that do the same thing as the javascript, so I will put the easiest code. Here they are:

Add Site to Favorites*
Copy & Paste:


Pop up window (when you click on it)
Copy & Paste: Put this in between the HEAD tags of your webpage:
Copy & Paste:
Copy & Paste: Put this code on the page you want the pop-up to open from (You can customise height, width, URL of the pop-up, etc.):


Break Frames
Copy & Paste:


Close Window
Copy & Paste: Button: or Text:


Page Last Updated
Copy & Paste:


Protect Email Addresses from Spiders that send you Spam
Copy & Paste (Note- replace username & yoursite.com with the corresponding parts of the email address you are protecting):


No Rick Click*
Copy & Paste: In between HEAD tags:

That's all for now, but I will probably be adding more in the future.


Back to Top


Let's go HOME!