Last active
October 14, 2017 14:21
-
-
Save noromanba/5872328 to your computer and use it in GitHub Desktop.
Adblock Plus Whitelist Export
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Adblock Plus Whitelist Export. require Developer Tools Console | |
// @author noromanba | |
// @license MIT License http://nrm.mit-license.org/2013 | |
// chrome-extension://cfhdojbkjhnklbpkdaibdccddilifddb/options.html#tab-whitelisted | |
var area = document.createElement('textarea'); | |
area.id = 'rawDomainText'; | |
//area.readOnly = true; | |
area.style.width = '500px'; | |
area.style.height = '150px'; | |
Array.prototype.slice.call(document.querySelectorAll('#excludedDomainsBox option[value]')).forEach(function (option) { | |
area.appendChild(document.createTextNode(option.value + '\n')); | |
}); | |
document.body.appendChild(area); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment