Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Hejto dyskusje
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description try to take over the world!
- // @author You
- // @match https://www.hejto.pl/*
- // @icon https://www.google.com/s2/favicons?sz=64&domain=hejto.pl
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- var selektor = document.querySelector("#__next > div > header > div > div.flex-grow");
- selektor.innerHTML = `\n\n <button style="height:32px;min-width:32px" type="button" class="rounded-xl px-1 flex gap-2 items-center justify-center text-primary-main dark:text-common-white text-2xl md:text-base font-semibold" onclick="location.href='https://www.hejto.pl/najnowsze/typ/dyskusje'"><span class="text-primary-main">/</span><span class="hidden md:inline text-sm pr-2">Dyskusje</span></button>\n`;
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement