JSFiddle - React, Tailwind, and code Playground

NEWER voting bookmarklet: for pionZZZeer-sZZZro.com helps to automate topsite voting on a private v_SzzzRO server checks embedded javascripts then does regex source code matching to find a token in the source and then clicks the voting link alert on error detection=yes delay timer=yes -error detection added but could still add more features -no success for FINDING element or TOKEN, feature should be on wishlist

by dledle2

HTML

NEWER voting bookmarklet: for pionZZZeer-sZZZro.com
helps to automate topsite voting on a private v_SzzzRO server
checks embedded javascripts then does regex source code matching to find a token in the source and then clicks the voting link
alert on error detection=yes
delay timer=yes
-error detection added but could still add more features
-no success for FINDING element or TOKEN, feature should be on wishlist

JavaScript

javascript: (window.setTimeout(function() {
    scriptElemVoting = document.querySelectorAll("script")[3];
    strFoundToken = scriptElemVoting.innerHTML.match('getcoins.*token.*\/');
    if (strFoundToken == null) {
        alert('regex match for getcoins...token... not found on the voting page');
    }
    if (strFoundToken[0].length > 5) {

    } else {
        alert('token string found via regex but length is too short');
    }
}, 100));

(window.setTimeout(function() {
    scriptElemVoting = document.querySelectorAll("script")[3];
    strFoundToken = scriptElemVoting.innerHTML.match('getcoins.*token.*\/');
    if (strFoundToken[0].length > 5) {
        window.top.location = "/panel/vote/" + strFoundToken
    }
}, 15000));
void(0);