Safari: enable click to subscribe

This commit is contained in:
Chris 2015-03-09 13:56:05 -06:00
parent 400c51ccd9
commit 476fd17555

View file

@ -69,6 +69,17 @@
/******************************************************************************/
safari.extension.addContentScriptFromURL(vAPI.getURL("js/subscriber.js"), [
"https://*.adblockplus.org/*",
"https://*.adblockplus.me/*",
"https://www.fanboy.co.nz/*",
"http://*.adblockplus.org/*",
"http://*.adblockplus.me/*",
"http://www.fanboy.co.nz/*"
], [], true);
/******************************************************************************/
safari.extension.settings.addEventListener('change', function(e) {
if(e.key === 'open_prefs') {
vAPI.tabs.open({