DART-Bux Compiler

For viewing the debateart.com DART-Bux blockchain

Per 16-09-2019. Zie de nieuwste versie.

// ==UserScript==
// @name DART-Bux Compiler
// @version 0.3
// @description For viewing the debateart.com DART-Bux blockchain
// @author Perussi
// @match *://www.debateart.com/forum/topics/2664/*
// @grant none
// @namespace https://greasyfork.org/users/128061
// ==/UserScript==

var vUrl = 0;
var aa = 0;
var ab = 0;
var mvz = 0;
var hopper = 0;
 

window.onload = function letThereBeLight(){
    vUrl = window.location.href;
    mvz = 0;
    for(aa = 0; aa < vUrl.length; aa++){
        if(vUrl.substring(aa,aa+9) === "DAB_Code:" && mvz === 0){
            aa += 9;
            hopper = "";
            mvz = 1;
        }
        if(mvz === 1){
            hopper += vUrl.charAt(aa);
        }
    }
    document.title = hopper;
};