Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name avorion screenshot fixer
- // @namespace avorion
- // @description Fixes big screenshots on www.avorion.net
- // @include http://www.avorion.net/forum/index.php/*
- // @include https://www.avorion.net/forum/index.php/*
- // @version 1.0
- // @date 2017-02-17
- // @author Morgann Gilroy
- // @grant none
- // ==/UserScript==
- (function css_getclass(name){
- var dss=document.styleSheets;
- for (var i=0;i<dss.length;++i){
- var cr=dss[i].cssRules
- for (var j=0;j<dss[i].cssRules.length;++j) {
- if(dss[i].cssRules[j].selectorText == name) {
- return (dss[i].cssRules[j]);
- }
- }
- }
- return null;
- })(".bbc_img").style.maxWidth="100%";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement