I get the err-msg:
TypeError: induceSplitting_umdb.split is not a function
- when trying to split by:
var inducefrAddrBar =""; inducefrAddrBar = document.location.href;
var induceSplitting_umdb = ""; induceSplitting_umdb = inducefrAddrBar.split('umdb');
Later edit: nevermind -> had to work on the initial document.location.href-string :
var inducefrAddrBar = document.location.href.split('debug');
console.log("isUmdbOn: "+ inducefrAddrBar[1]);
- which works