End Of Summer — Improving Online Dating!

So my friends have been encouraging me to try and meet new people on the Internet through some various online dating sites. Creating a profile was a good start but I quickly found myself getting really distracted by all the profile pictures when I should be reading the profile text instead. I decided to create a simple little grease-monkey script to remove all of the pics on the site and therefore force me to read one’s profile instead. Here’s the result:

// ==UserScript==
// @name        okcp
// @namespace   gm-dev
// @include     http://www.okcupid.com/*
// @version     1
// ==/UserScript==

var pics = document.getElementsByTagName("img");

for (var pici in pics)
{
	try
	{
		var wide = pics[pici].width;
		var high = pics[pici].height;
		pics[pici].src = "http://142.204.133.82/tmp/images/qmt.png";
		pics[pici].onmouseover = "";
		pics[pici].width = wide;
		pics[pici].height = high;
	}
	catch(e)
	{
		console.log("pic error?");
	}
}

var side = document.getElementById("left_bar");

if (side)
{
	side.style.width = "200px";
}
Advertisements
End Of Summer — Improving Online Dating!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s