Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name LSS-User-ID
- // @version 1.0
- // @description Die eigene User-ID wird oben rechts angezeigt
- // @author KBOE2
- // @include https://www.leitstellenspiel.de/*
- // @grant none
- // ==/UserScript==
- var profil = document.getElementById("navbar_profile_link").href;
- ID = profil.replace("https://www.leitstellenspiel.de/profile/","");
- function lightbox_open() {
- lightboxOpen();
- }
- $(".nav.navbar-nav.navbar-right").append(`<li><a class="lightbox-open" onclick="lightbox_open()" href="` + profil + `">` + ID + `</a></li>`);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement