Created
October 13, 2017 17:24
-
-
Save josefandersson/c71ce25395b79536189799cd7341c13e 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 HF image size restriction | |
// @version a | |
// @description Don't allow images in threads to be wider than the page. | |
// @author DrDoof | |
// @match https://hackforums.net/showthread.php* | |
// @match http://hackforums.net/showthread.php* | |
// @grant GM_addStyle | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
GM_addStyle(` | |
.post_content img { | |
max-width: 100%; | |
} | |
`); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment