Skip to content

Instantly share code, notes, and snippets.

@dreamalligator
Last active December 24, 2015 13:29
Show Gist options
  • Save dreamalligator/6805168 to your computer and use it in GitHub Desktop.
Save dreamalligator/6805168 to your computer and use it in GitHub Desktop.
Sort TPB by seeds.
// ==UserScript==
// @name piratebay
// @match https://thepiratebay.se/*
// @match http://thepiratebay.se/*
// @run-at document-end
// @grant none
// @version 1
// ==/UserScript==
document.getElementsByName("orderby").item(0).setAttribute("value","7");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment