SHARE
TWEET

Untitled

a guest Oct 21st, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         trends.gab.com Reverse color scheme
  3. // @namespace    http://trends.gab.com
  4. // @version      0.1
  5. // @description  Does a simple reverse of the color scheme on gab trends
  6. // @author       You
  7. // @match        https://trends.gab.com/
  8. // @grant        none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12.     'use strict';
  13.  
  14.     // Your code here...
  15.     document.getElementsByTagName('body')[0].style.backgroundColor='#000';
  16.     document.getElementsByTagName('body')[0].style.color='#888';
  17.     document.getElementsByTagName('body')[0].style.fontFamily='"Adobe Caslon Pro", "Times New Roman", serif';
  18.  
  19.     document.getElementsByClassName('page-title')[0].style.fontFamily='"Trajan Pro", "Courier New", monospace';
  20.     document.getElementsByClassName('page-title')[0].style.fontStyle='normal';
  21.     document.getElementsByClassName('page-title')[0].style.fontWeight='normal';
  22.     document.getElementsByClassName('page-title')[0].style.color='#fff';
  23.     document.getElementsByClassName('page-title')[0].style.backgroundColor='#00d178';
  24.     document.getElementsByClassName('page-title')[0].style.fontSize='10em';
  25.     document.getElementsByClassName('page-title')[0].style.paddingTop='1em';
  26.     document.getElementsByClassName('page-title')[0].style.paddingBottom='0.75em';
  27.  
  28.  
  29. })();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top