Block K'nex Instructables/Forum Topics/Groups! Now With Allsteps! Version 1.0.0.1

by zachninme in Living > LEGO & K'NEX

6273 Views, 10 Favorites, 0 Comments

Block K'nex Instructables/Forum Topics/Groups! Now With Allsteps! Version 1.0.0.1

knex1.jpg
It seems that some people dislike K'nex. Although I find them a tad annoying, they aren't the bane of my existence (that's the line of IE browsers!) This method hides them away, getting them out of your sight.

The basic outline is this:

1 - Install Firefox
2 - Install Greasemonkey
3 - Click this link

Once you do this, you will be with the inner zen of yourself and your lack of K'nex guns!

Coding by zachninme
Blacklist, testing, suggestions, and hosting by NachoMahma

Thanks WhatsIsFace for the motivation to get me started on the project, and for testing.

Install Firefox / Get Greasemonkey

F23MEOFUBZEYSYULVM.MEDIUM.jpg
Although you can use other browsers with Greasemonkey, (Seamonkey, Epiphany), this tutorial will just cover Firefox. This instructable goes over how to use a greasemonkey script with Opera.

If you have IE, Install Firefox. You'll like it much more, and instructables doesn't support IE. This means that instructables should render better.

---

You'll also need Greasemonkey:

Get Greasemonkey

You will need to restart Firefox for Greasemonkey to work.

Get the Script!

Now that you have Greasemonkey, click me!

Voila! The script is installed, and K'nex are blocked, and Allsteps is automatic!

You can stop right here, or you could read on and find out about the script's features!

Changing Blacklist/Whitelist

Lets say you don't want to see anything to do with squid. You can't stand squid -- and it makes you want to hug a blanket.

Just open up the script, and locate:
//Edit below line to change blacklist.var blacklist = ['knex',"k'nex",'k-nex','lego','runescape','!!!!!','killerk',          'rubber band gun','rbg','soe op','grenade','megatron',          'me pain','oodalumps','paintball'];//Edit below line to change whitelist.          var whitelist = ['Greasemonkey Script'];

To add squid to your blacklist, put it in quotes, and add a comma:
var blacklist = ['knex',"k'nex",'k-nex','lego','runescape','!!!!!','killerk',          'rubber band gun','rbg','soe op','grenade','megatron',          'me pain','oodalumps','paintball' ''','squid' '''];

However, lets say you still want to see things pertaining to Squid Labs. You could add "labs" to your whitelist.
var whitelist = ['Greasemonkey Script' ''','labs' '''];

Blocking Individual Items

Lets say, you hate the idea of using the Create with Linux. You want to block it, but you still want to view things pertaining to Linux, and the iRobot Create.

Click the small "x" next to the title, and it will be blocked!



But, all of the sudden, you're taken over by Linux-Create-Fever, and you must see this again. No problem.

Just go to...
https://www.instructables.com/block
If you get a 404, don't panic. The script will soon turn it into a unblocking page, where you can simply click to unblock.