mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-13 02:14:17 +01:00
f6f85ec793
It works similarly to the xhr intercepting, except here the window.open global function is being overridden. Note that it could only work if the site's Content Security Policy allows inline scripts, and the script on the webpage doesn't have a copy of the original window.open function (it can happen only if the page has an inline script in its head element, where the reference to the original function can be obtained - likely this cannot be prevented in Safari).
91 lines
2.2 KiB
Text
91 lines
2.2 KiB
Text
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>Author</key>
|
|
<string>Raymond Hill</string>
|
|
<key>Builder Version</key>
|
|
<string>534.57.2</string>
|
|
<key>CFBundleDisplayName</key>
|
|
<string>µBlock</string>
|
|
<key>CFBundleIdentifier</key>
|
|
<string>net.gorhill.uBlock</string>
|
|
<key>CFBundleInfoDictionaryVersion</key>
|
|
<string>6.0</string>
|
|
<key>CFBundleShortVersionString</key>
|
|
<string>0.7.0.7</string>
|
|
<key>CFBundleVersion</key>
|
|
<string>1453267</string>
|
|
<key>Chrome</key>
|
|
<dict>
|
|
<key>Database Quota</key>
|
|
<real>52428800</real>
|
|
<key>Global Page</key>
|
|
<string>background.html</string>
|
|
<key>Popovers</key>
|
|
<array>
|
|
<dict>
|
|
<key>Filename</key>
|
|
<string>popup.html</string>
|
|
<key>Height</key>
|
|
<real>310</real>
|
|
<key>Identifier</key>
|
|
<string>popover</string>
|
|
<key>Width</key>
|
|
<real>180</real>
|
|
</dict>
|
|
</array>
|
|
<key>Toolbar Items</key>
|
|
<array>
|
|
<dict>
|
|
<key>Identifier</key>
|
|
<string>toolbarItem</string>
|
|
<key>Image</key>
|
|
<string>img/icon_16.png</string>
|
|
<key>Label</key>
|
|
<string>µBlock</string>
|
|
<key>Popover</key>
|
|
<string>popover</string>
|
|
</dict>
|
|
</array>
|
|
</dict>
|
|
<key>Content</key>
|
|
<dict>
|
|
<key>Scripts</key>
|
|
<dict>
|
|
<key>End</key>
|
|
<array>
|
|
<string>js/contentscript-end.js</string>
|
|
</array>
|
|
<key>Start</key>
|
|
<array>
|
|
<string>js/vapi-client.js</string>
|
|
<string>js/contentscript-start.js</string>
|
|
</array>
|
|
</dict>
|
|
<key>Whitelist</key>
|
|
<array>
|
|
<string>http://*/*</string>
|
|
<string>https://*/*</string>
|
|
</array>
|
|
</dict>
|
|
<key>Description</key>
|
|
<string>Finally, an efficient blocker for Chromium-based browsers. Easy on CPU and memory.</string>
|
|
<key>ExtensionInfoDictionaryVersion</key>
|
|
<string>1.0</string>
|
|
<key>Permissions</key>
|
|
<dict>
|
|
<key>Website Access</key>
|
|
<dict>
|
|
<key>Include Secure Pages</key>
|
|
<true/>
|
|
<key>Level</key>
|
|
<string>All</string>
|
|
</dict>
|
|
</dict>
|
|
<!-- <key>Update Manifest URL</key>
|
|
<string>https://github.com/gorhill/uBlockupdate_safariextz.plist</string> -->
|
|
<key>Website</key>
|
|
<string>https://github.com/gorhill/uBlock</string>
|
|
</dict>
|
|
</plist>
|