SCPLite

removes many things except the text

  1. // ==UserScript==
  2. // @name SCPLite
  3. // @namespace https://scp-wiki.wikidot.com/
  4. // @version 1.0
  5. // @author NextDev65
  6. // @description removes many things except the text
  7. // @match https://scp-wiki.wikidot.com*/*
  8. // @resource https://gist.github.com/NextDev65/ab1d091bc30f04bb9c2b13ab1d0dd44f/raw/hover_fade.js
  9. // @run-at document-end
  10. // @grant GM_getResourceText
  11. // @noframes
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. 'use strict';
  16.  
  17. // https://www.tampermonkey.net/documentation.php#_require
  18. // Points to a JavaScript file that is loaded and executed before the script itself starts running.
  19. // @require https://gist.github.com/NextDev65/ab1d091bc30f04bb9c2b13ab1d0dd44f/raw/hover_fade.js
  20.  
  21. // https://www.tampermonkey.net/documentation.php#_resource
  22. // Preloads resources that can by accessed via GM_getResourceURL and GM_getResourceText by the script.
  23. // @resource hover_fadejs https://gist.github.com/NextDev65/ab1d091bc30f04bb9c2b13ab1d0dd44f/raw/hover_fade.js
  24.  
  25. // external
  26. Function(GM_getResourceText('hover_fadejs'))();
  27. hover_fade(); // eslint-disable-line no-undef
  28.  
  29. document.getElementById('header').remove();
  30. document.getElementById('side-bar').remove();
  31. document.getElementById('container-wrap').id = "container-wrap-o";
  32. document.getElementById('page-content').scrollIntoView();
  33. document.getElementById('footer').remove();
  34. document.getElementById('license-area').remove();
  35. document.getElementById('footer-bar').remove();
  36. })();