Skip to content

Instantly share code, notes, and snippets.

@jotaelesalinas
Last active October 3, 2017 08:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jotaelesalinas/bbc2d62b4a346c8fb85127272a7d081a to your computer and use it in GitHub Desktop.
Save jotaelesalinas/bbc2d62b4a346c8fb85127272a7d081a to your computer and use it in GitHub Desktop.
var selectors = [   '.SidebarMenu' , '.ActionBar' , '.TitleBar' , '.SidebarSocial' , '.social__top' , '.social__bottom'];
var e = false;for ( var i = 0, l = selectors.length; i < l; i++ ) { while (e = document.querySelector(selectors[i])) {  e.parentElement.removeChild(e);  }}
e = document.querySelectorAll('.Main');for ( var i = 0, l = e.length; i < l; i++ ) { e[i].style.margin = '2em';}
e = document.querySelectorAll('.Tutorial');for ( var i = 0, l = e.length; i < l; i++ ) { e[i].style.margin = '0'; e[i].style.padding = '0'; e[i].style.border = '0'; e[i].style.maxWidth = 'inherit';}
e = document.querySelector('body');e.style.backgroundImage = 'none';e = document.querySelector('body');e.style.backgroundColor = '#fff';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment