By devine
—
Last update
Nov 12, 2006
—
Installed
612 times.
// ==UserScript==
// @name Shock Block: The Shock Site Blocker
// @author devine
// @version 1.01
// @date 11/11/06
// @description Prevents shock sites such as Last Measure, GNAA, Tubgirl, etc from being displayed.
// @namespace http://devinegm.blogspot.com
//
// @include *
// @exclude http://devinegm.t35.com/*
// @exclude http://google.com*
// @exclude http://*.google.com*
//
// ==/UserScript==
function checksite()
{
pageTitle = document.title.toLowerCase();
pageURL = location.href.toLowerCase();
if (/\b(ragingfist.org|dontwatch.us|l33thaxor.tk|surprisesurprise.eu.tt|cherrycake.org|nimp.org|iheartu.tk|internetpolice.uk.md|freakhole.com|neat.tk|discharges.org|denial.be|tard.biz|fnord.org\/gummi|zoy.org|goatse|crackfile|yellaface|thewillpower|bold_leadership_4_a_better_world|jiztini|justinsanity|bottleguy|tubboy|bloggerpals|cheapabortions|gimpyd|detroithardcore|nutgobbler|femse|mongface|meatspin|wowomg|hai2u|lemonparty|consumptionjunction|goatse)\b/.test(pageURL))
{
matchType = "URL";
matchString = RegExp.$1;
location.href = "http://devinegm.t35.com/shockblock/blocked.php?url="+pageURL+"&type="+matchType+"&string="+matchString;
}
// Blocks websites based on page title.
else if (/\b(gnaa|goatse)\b/.test(pageTitle))
{
matchType = "title";
matchString = RegExp.$1;
location.href = "http://devinegm.t35.com/shockblock/blocked.php?url="+pageURL+"&type="+matchType+"&string="+matchString;
}
}
checksite()