Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Wykop 3.0 CSS by tentin_quarantino
- // @description Wykop 3.0 CSS by tentin_quarantino
- // @namespace https://wykop.pl
- // @version 0.1
- // @author tentin_quarantino
- // @match https://wykop.pl/**
- // @icon https://www.google.com/s2/favicons?sz=64&domain=wykop.pl
- // @run-at document-body
- // @resource WYKOP_CSS https://raw.githubusercontent.com/tentin-quarantino/wykop-the-best-style/main/style.css
- // @grant GM_getResourceText
- // @grant GM_addStyle
- // ==/UserScript==
- function addCss(css) {
- var head = document.body;
- var style = document.createElement("style");
- style.type = "text/css";
- style.textContent = css;
- head.appendChild(style);
- }
- const my_css = GM_getResourceText("WYKOP_CSS");
- addCss(my_css);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement