Posted on

Remember Remember

Remember remember the fifth of November
The gunpowder, treason and plot
I see of no reason why the gunpowder and treason
Should ever be forgot

In these most devastating and auspicious times there is something wrong with the regimes of the world, isn’t there? Something terribly wrong. We are just starting to realize it, but it’s been there for a while, staring us in the face. I understand that we are afraid of power. I understand why we fear the establishment. But the establishment fails to recognize that we will not back down in the face of this fear and the face of the establishment itself. We are a truly global force entirely mobilized on the Internet, where the extremists and revolutionaries rule — not your militaries and governments. Stand down governments and tyrants of the world — for we will not forget and we will not forgive. Expect us.

In order to have access to free information, torrents are undeniably important. In order for this to be simplified, I have added a script to help. Enjoy.

 

// ==WeAreAnonymous==
// @name Magnet Catchrz
// @description by neuron, marduk, g0dsm, 5p45m, heyguise, and tflow
// @namespace https://theroyalanon.wordpress.com
// @include http://*thepiratebay.org/*
// @include http://*torrentz.com/*
// @include http://*torrentz.eu/*
// @include http://*newtorrents.info/*
// @include http://*isohunt.com/*
// @include http://*mininova.org/*
// @include http://*btjunkie.org/*
// @include http://*monova.org/*
// @include http://*extratorrent.com/*
// @include http://*kickasstorrents.com/*
// @include http://*eztv.it/*
// @include http://*alivetorrents.com/*
// @include http://*torrentpump.com/*
// @include http://*torrenthound.com/*
// @include http://*seedpeer.com/*
// @include http://*torrentzap.com/*
// @include http://*yourbittorrent.com/*
// @include http://*torrentreactor.to/*
// @include http://*rarbg.com/*
// @include http://*mac-torrents.com/*
// @include http://*torrentfunk.com/*
// @include http://*btscene.com/*
// @include http://*cinematorrents.com/*
// @include http://*alivetorrents.com/*
// @include http://*bitenova.org/*
// @include http://*torrentbit.net/*
// @include http://*torrentmatrix.com/*
// @include http://*sumotorrent.com/*
// @include http://*torrentreactor.net/*
// @include http://*linuxtracker.org/*
// @license Creative Commons Attribution-Share Alike http://creativecommons.org/licenses/by-sa/3.0/
// @version 0.4
// ==/UserScript==

// README
// Magnet Catcher works on any site. There are included the most popular ones
// but don’t worry about adding your own or even include * (all sites).
// jQuery is used to do the hard work. Script is safe and stable.
// CHANGELOG:
// 0.4
// + magnet downloads are now named after the source webpage’s title, which is somewhat more informative than bt info hash.
// + magnet uri now contains default tracker address of openbittorrent, which improves startup time and average speed.
// 0.31
// + bug causing crashes in Firefox 5 fixed. Culprit: re() function call rewritten to re.exec() on lines 103, 113.
// 0.3
// + support for Opera and Google Chrome
// + changed jquery source to minified version
// + support for base32 hashes
// + added best torrent sites into included sites
// + magnet links are now appended to site links (were put after)
// 0.2
// + removed bug in regexp – does not match hashes longer than 40 letters anymore
// + better handling of textual end leaf (non-anchor nodes)
// + default set of servers has been inspected
// + other minor improvements
// 0.1
// + initial version

// a function that loads jQuery and calls a callback function when jQuery has finished loading
function addJQuery(callback) {
var script = document.createElement(“script”);
script.setAttribute(“src”, “http://code.jquery.com/jquery-latest.min.js”);
script.addEventListener(‘load’, function() {
var script = document.createElement(“script”);
script.textContent = “(” + callback.toString() + “)();”;
document.body.appendChild(script);
}, false);
document.body.appendChild(script);
}

// All the magic is here
function main() {
var re = /(?:[\s]|[^a-f0-9]|^)([a-f0-9]{40}|[a-z2-7]{32})(?:[\s]|[^a-f0-9]|$)/im;

/**
* This function will create anchor as icon linking magnet protocol to
* provided hash.
*/
function makeMagnet(hash) {
tracker=”udp://tracker.openbittorrent.com:80″; //tracker
name=document.title; //display name
return “Magnet link“;
}

/**
* When parent has no child that matches regex “re” we can consider the parent
* as end leaf.
*/
function hasNoRelevantChild(parent){
var children = $(parent).children();
if (children.size()==0) return true;
for (i=0;i<children.size();i++){
if (re.test($(children[i]).text())) return false;
}
return true;
}

if(re.test($(“body”).html())) {
// all anchor node
$(“a”).each(function() {
var self = this;
var href = $(self).attr(“href”);
if(re.test(href)){
hash = re.exec(href)[1];
$(self).append(makeMagnet(hash));
}
});

// all other nodes
$(“*”).each(function() {
var self = this;
var text = $(self).text();
if(re.test(text) && hasNoRelevantChild(self)){
hash = re.exec(text)[1];
$(self).append(makeMagnet(hash));
}
});
}
}

// load jQuery and execute the main function
addJQuery(main);

 

 

Advertisements

About theroyalanon

A computer geek, software engineer, and Internet activist. This is my podium by which I taunt the general populace into rebellion. Retired from LulzSec, and supporting Anonymous.

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