Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
GreaseMonkey Script to make WIRED Easy to Read
// ==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
You can’t perform that action at this time.