Google Dark Extended

By Corey Holland Last update Jun 13, 2006 — Installed 7,293 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 9 posts, 7 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
surplus Scriptwright

Unsafe and uses .com rather than current tld.

 
thuvap User

There are many images in the script which are externally linked - which also means that EVERY single link that goes to that external page carries in its header HTTP_REFERRER. This means his site receives the full address of the google page you're at, something which is not all that hard to log (along with all the other usefull data that could be used to track you). The script writer is almost certianly not doing this, but even so I wouldn't trust my even best friend with that capability.

 
thuvap User

*sigh*
Or, rather than all that link bullshit, you can fix it to include the image in the script as a Data URI.

Data URI - i.e. the entire image in text (likely base 64) which Firefox can read and interpret as a file

Here is how you make a Data URI: http://software.hixie.ch/utilities/cgi/data/data
Put http://07designs.com/GDark/img/logo.jpg in the HTTP URI input field (or load a pic of your own choosing by browsing - up to you, but should probably just use the black theme one). You'll get a giant link, just right-click and click select Copy Link Location.
You'll paste that "link" in the code you're going to add to the script (which is a the Data URI - i.e. the entire image in text (likely base 64) which Firefox can read and interpret as a file

add this to the source of the dark extended script after the commented part:

var darklogo;
darklogo = document.createElement('img');
darklogo.src = "(PASTE HERE)";

and then replace all the
'http://userscripts.corhol.com/google-dark/logo.jpg'
references with darklogo (no quotes around it, it's a variable in the script at this point)

Upon looking at the actual source - CHRIST, it seems there was an effort made to make this script bloody dependent upon an external resource, I'm going to have to remake it with nothing but Data URI's sometime so that it will be entirely independent (i.e. not a single thing needs to be grabbed off the web, why make so many connections for no reason as well as waste that bandwidth again and again). The script itself will be somewhat larger in filesize to fit the pictures inside of it as text, but that's infinitely superior to external linking. I'll likely include this theme in the massive google customizer I'm making which combines at least 30-40 of the more popular Google scripts as well as a few of my own, but adds a configuration ability to tune it all to what you want and enable/disable features to your hearts desire. This will then be compiled into a .xui Firefox extension so it can have a custom options GUI like all the other Firefox settings, but that won't add anything really except a nicer way to config stuff and the ability to load it without even having GreaseMonkey installed.

 
Tom Spear Scriptwright
CORRECTION: Instead of searching for 'Google logo'

search for http://userscripts.corhol.com/google-dark/logo.jpg and replace all instances with http://07designs.com/GDark/img/logo.jpg
 
Tom Spear Scriptwright

He would fix it if his homepage wasn't down. the best way to fix it is to use the logo from the original script.. Just edit this script and search for 'Google logo'. Then find the line that says

document.getElementsByTagName('img')[1].src =

and change the url to http://07designs.com/GDark/img/logo.jpg

 
DARKSIDE User

NIIIce, just the logo.....hope you can fix that..:)

 
Kyle Wilson 2 User

Neat idea but needs some work... Google logo, for example, doesn't show up on the google.com homepage!?!

 
Arvid Scriptwright

very slick looking! gonna use it for a while. cred to the original author too. thanks!

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel