array suggestion
|
|
first of all, lol @ the script, hilarious idea. i just had a suggestion about the array declaration. I usually do mines like:
var fakesites = [ "Google Search", "Amazon.com: Online Shopping for Electronics, Apparel", "Google Notebook", "Welcome to StumbleUpon", "Newegg.com - Computer Parts, PC Components, Laptop", "Userscripts.org", "SQL Tutorial", "Google Maps", "Mozilla.org - Home of the Mozilla Project", "Gmail - Inbox", "Main Page - Wikipedia, the free encyclopedia", "The Internet Movie Database (IMDb)", "Google News", "Firefox Add-ons", "Digital Blasphemy 3D Wallpaper" ] I think it reads better, idk. Plus you don't have to manage all the indices. |
![]() ![]() |
I agree, the commas should come after the string. The array literal declaration I couldn't care less about, but commas before the string is pretty confusing and backwards to what most scripters are used to. |

