Skip to content

Instantly share code, notes, and snippets.

@thameera
Last active December 15, 2015 15:28
Show Gist options
  • Save thameera/5281544 to your computer and use it in GitHub Desktop.
Save thameera/5281544 to your computer and use it in GitHub Desktop.
User script to automatically sort search results in The Pirate Bay (http://thepiratebay.*) by seeders count.
// ==UserScript==
// @name The Pirate Bay Seeder Sort
// @namespace http://thameera.com
// @description Sorts the Pirate Bay results by seeder count
// @include *://thepiratebay.*/*/99/*
// @version 0.1
// ==/UserScript==
(function() {
document.location.pathname = document.location.pathname.replace(/99/, '7');
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment