leed-adblock/adblock/js/adblock_plugin_js.js

7 lines
234 B
JavaScript

function adblock_whitelist_blacklist(id, whitelist_blacklist) {
if(whitelist_blacklist == 0)
document.getElementById(id).innerHTML = "Whitelist :";
else
document.getElementById(id).innerHTML = "Blacklist :";
}