-
Notifications
You must be signed in to change notification settings - Fork 0
/
user.js
18 lines (17 loc) · 1.04 KB
/
user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// ==UserScript==
// @name ESO Forum visibility Fix
// @namespace http://tampermonkey.net/
// @version 1.06
// @description Fixes ESO forums with a simple CSS hack to temporarily work around a visibility bug within the ESO forums
// @include https://forums.elderscrollsonline.com/*
// @author CheckYourFax
// @icon https://us.v-cdn.net/5020507/uploads/favicon_07701a7cad522642.ico
// @grant none
// ==/UserScript==
window.addEventListener('load', function() {
(function(){var a=document.createElement('style'),b;document.head.appendChild(a);b=a.sheet;b.insertRule('body{visibility:visible !important;}',0);})();
}, false);
//First the script waits for page to load (line 11, 13)
//Then it adds (and thus overwrites) the property 'visibility' within the 'body' selector, but without the 'hidden' value added to the 'visibility' property (line 12)
// This script should not interfere with normal forum functionality when this bug is ultimately fixed by Bethesda/ZeniMax
// Courtesy of CheckYourFax#1445 of the Daedric Banditoos