-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwidepornium02.user.js
45 lines (40 loc) · 1.46 KB
/
widepornium02.user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// ==UserScript==
// @name Widepornium 0.2
// @description Widens the Emponium page
// @version 0.2.2
// @author Allebady
// @match http://*.empornium.me/*
// @match https://*.empornium.me/*
// @match http://empornium.me/*
// @match https://empornium.me/*
// @match http://*.empornium.is/*
// @match https://*.empornium.is/*
// @match http://empornium.is/*
// @match https://empornium.is/*
// @match http://*.empornium.sx/*
// @match https://*.empornium.sx/*
// @match http://empornium.sx/*
// @match https://empornium.sx/*
// @exclude /https?://www\.empornium\.(me|sx|is)/upload\.php.*/
// @grant GM_addStyle
// ==/UserScript==
(function() {
'use strict';
function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
addGlobalStyle('#content { max-width: 2560px; width: 95%; !important; }');
addGlobalStyle('#wrapper { max-width: 2560px; !important; }');
addGlobalStyle('.thin { width: 98% !important; }');
addGlobalStyle('.details.thin { width: 98% !important; }');
addGlobalStyle('.main_column { width: 69% !important; }');
addGlobalStyle('.details .main_column, #requests .main_column { width: 100% !important; }');
addGlobalStyle('.middle_column { width: 69% !important; }');
addGlobalStyle('.sidebar { max-width: 450px; width: 30% !important; }');
})();