6,7c6 < var xlastuserstyle='', wlsopts='', backgroundcheckonthese=[], curonebeingchecked='', curonei=-1; < var zzhr=null; --- > var xlastuserstyle=''; 20,62d18 < < function cwpstateChanged() { < if (zzhr.readyState == 4) { < if (zzhr.status == 200) { < if (('' + zzhr.response).indexOf('my' + 'wa' + 'sel') == -1) { < if (document.getElementById('mywasel')) { < if (document.getElementById('mywasel').innerHTML.indexOf(' value="' + curonebeingchecked + '">') != -1) { < document.getElementById('mywasel').innerHTML=document.getElementById('mywasel').innerHTML.replace(' value="' + curonebeingchecked + '">' + document.getElementById('mywasel').innerHTML.split(' value="' + curonebeingchecked + '">')[1].split('')[0], ' value=" ">'); < } < if (decodeURIComponent(wlsopts) == curonebeingchecked) { < window.localStorage.removeItem('css_webapps_peer_more_options'); < } else if (wlsopts.indexOf(curonebeingchecked + ',') == 0) { < wlsopts=wlsopts.replace(curonebeingchecked + ',', ''); < window.localStorage.removeItem('css_webapps_peer_more_options'); < window.localStorage.setItem('css_webapps_peer_more_options', encodeURIComponent(wlsopts)); < } else { < wlsopts=wlsopts.replace(',' + curonebeingchecked, ''); < window.localStorage.removeItem('css_webapps_peer_more_options'); < window.localStorage.setItem('css_webapps_peer_more_options', encodeURIComponent(wlsopts)); < } < } < } < } < } < } < < function ajaxcheckthelist() { < if (curonei >= 0) { < if (curonei >= eval('' + backgroundcheckonthese.length)) { < curonei=-1; < backgroundcheckonthese=[]; < curonebeingchecked=''; < } else { < zzhr = new XMLHttpRequest(); < zzhr.onreadystatechange=cwpstateChanged; < curonebeingchecked=backgroundcheckonthese[curonei]; < zzhr.open('get', curonebeingchecked, true); < zzhr.send(null); < curonei++; < setTimeout(ajaxcheckthelist, 8000); < } < } < } 77,83d32 < function yourdecodeURIComponent(insis) { < backgroundcheckonthese=decodeURIComponent(insis).split(','); < if (eval('' + backgroundcheckonthese.length) > 0) { curonei=0; } < setTimeout(ajaxcheckthelist, 6000); < return decodeURIComponent(insis); < } < 85c34 < var inbv=0, jnbv=0, apptitleis='', ocdone=false, wlsarr=[], iwl=0; --- > var inbv=0, jnbv=0, apptitleis='', ocdone=false; 88,97c37 < if (document.getElementById('mywasel') && document.URL.indexOf('GETME') == -1) { < if (('' + window.localStorage.getItem('css_webapps_peer_more_options')).toLowerCase().replace(/^undefined/g,'').replace(/^null/g,'') != '') { < wlsopts=yourdecodeURIComponent('' + window.localStorage.getItem('css_webapps_peer_more_options')); < wlsarr=wlsopts.split(','); < for (iwl=0; iwl if (document.getElementById('mywasel')) { 100,112d39 < if (wlsopts == '') { < window.localStorage.setItem('css_webapps_peer_more_options', encodeURIComponent('./' + document.URL.split('/')[eval(-1 + document.URL.split('/').length)].split('?')[0].split('#')[0] + '')); < wlsopts='./' + document.URL.split('/')[eval(-1 + document.URL.split('/').length)].split('?')[0].split('#')[0] + ''; < } else { < window.localStorage.removeItem('css_webapps_peer_more_options'); < window.localStorage.setItem('css_webapps_peer_more_options', encodeURIComponent(wlsopts + ',./' + document.URL.split('/')[eval(-1 + document.URL.split('/').length)].split('?')[0].split('#')[0] + '')); < wlsopts+=',./' + document.URL.split('/')[eval(-1 + document.URL.split('/').length)].split('?')[0].split('#')[0] + ''; < } < if (document.getElementById('ifbot')) { < if (('' + document.getElementById('ifbot').src).indexOf('/About_Us.htm') != -1) { < document.getElementById('ifbot').src='/HTMLCSS/middle_interest.php?htmlparity=&jsname=' + encodeURIComponent('./css_webapps_peer.js') + '&with=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0]) + '&inthesenseof=mywasel'; < } < } 132c59 < document.getElementById('mywasel').onchange=function(event) { if (event.target.value.trim() != '') { location.href=event.target.value; } }; --- > document.getElementById('mywasel').onchange=function(event) { if (event.target.value != '') { location.href=event.target.value; } }; 172c99 < setTimeout(addtodropdown, 2000); --- > setTimeout(addtodropdown, 2000); \ No newline at end of file