Advertisement
tsapaste

easy userscript template (replace '@resource' data)

Oct 19th, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.69 KB | None | 0 0
  1. // ==UserScript==
  2. // @name          NAME HERE
  3. // @namespace     http://userscripts.org/users/5161
  4. // @icon          https://png.pngtree.com/svg/20161028/397fafe29c.png
  5.  
  6. // @description   DESCRIPTION
  7. // @license       GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
  8. // @version       9
  9.  
  10. // @homepage        http://userscripts.org/scripts/show/182721
  11.  
  12. // @include       SITES TO APPLY TO
  13.  
  14. //
  15. // @require       https://pastebin.com/raw/mL37Qy2m
  16. // @resource      css https://pastebin.com/raw/Uzppgf4y
  17. //
  18. // @grant         GM_getResourceText
  19. //
  20. // ==/UserScript==
  21. (function () {
  22.   let styleNode = GM_setStyle({
  23.     data: GM_getResourceText("css")
  24.   });
  25.  
  26. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement