You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
558 B
20 lines
558 B
13 years ago
|
addEventListener('load', function() {
|
||
|
if ( typeof wappalyzer != undefined ) {
|
||
|
var preferences = document.getElementById('wappalyzer-options')
|
||
|
.getElementsByTagName('preferences')[0]
|
||
|
;
|
||
|
|
||
|
if ( preferences ) {
|
||
|
for ( i in wappalyzer.cats ) {
|
||
|
var preference = document.createElement('preference');
|
||
|
|
||
|
preference.setAttribute('id', 'wappalyzer-cat' + i);
|
||
|
preference.setAttribute('name', 'wappalyzer.cat' + i);
|
||
|
preference.setAttribute('type', 'bool');
|
||
|
|
||
|
preferences.appendChild(preference);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}, false);
|