Created
October 24, 2012 04:44
-
-
Save qqueue/3943915 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Temp 4chan images fix | |
// @namespace anon | |
// @description Fix 4chan thumbnails linking to boards instead of images | |
// @include https://boards.4chan.org/* | |
// @include http://boards.4chan.org/* | |
// @version 1 | |
// ==/UserScript== | |
Array.prototype.forEach.call(document.querySelectorAll('.fileThumb'), function (i) { i.href = i.href.replace(/boards/, 'images') }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment