Last active
July 7, 2017 14:24
-
-
Save samuelstevens9/d48328100851270f62f41a33188f9c84 to your computer and use it in GitHub Desktop.
GreaseMonkey Script to make WIRED Easy to Read
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 Wired Easy Read | |
// @namespace samuelstevens9 | |
// @include https://www.wired.com/story/* | |
// @include https://www.wired.com/\d+?/\d+?/.* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
var arts = document.getElementsByTagName('article'); | |
var bge = document.createElement('div'); | |
bge.style.backgroundColor = "#FFF"; | |
bge.style.position="fixed"; | |
bge.id = "sambo_bge"; | |
bge.style.top = 0; | |
bge.style.left = 0; | |
bge.style.width = "100%" | |
bge.style.height = "100%" | |
bge.style.zIndex = 1000000000000; | |
bge.style.overflow = "scroll"; | |
bge.style.padding = "50px 25%"; | |
document.body.appendChild(bge); | |
bge.appendChild(arts[0]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment