Safari Extension to Block Flash and load them by one click.
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.
|
|
<!DOCTYPE HTML> <script> safari.application.addEventListener("message", handleMessage, false);
function handleMessage(theEvent) { if (theEvent.name=="canLoad") { var message = theEvent.message; console.log(message); if (message.name=="getSettings") { console.log("Get Settings"); var data = message.data; theEvent.message = safari.extension.settings.bob; } } } safari.application.addEventListener("message", handleMessage, false); </script>
|