
Loading…
Safari updates #392
+260
−231
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This page is out of date. Refresh to see the latest.
Showing
with
260 additions
and 231 deletions.
- +0 −1 .gitignore
- +0 −91 meta/safariextz/Info.plist
- +0 −22 meta/safariextz/Settings.plist
- +91 −0 platform/safari/Info.plist
- +22 −0 platform/safari/Settings.plist
- 0 {meta/safariextz → platform/safari}/sitepatch-safari.js
- +2 −2 {meta/safariextz → platform/safari}/update_safariextz.plist
- +79 −29 {meta/safariextz → platform/safari}/vapi-background.js
- +60 −32 {meta/safariextz → platform/safari}/vapi-client.js
- +0 −1 {meta/safariextz → platform/safari}/vapi-common.js
- +0 −43 platform/vapi-appinfo.js
- +3 −6 src/js/tab.js
- +3 −4 tools/make-safari.sh
1
.gitignore
| @@ -1,4 +1,3 @@ | ||
| *.bak | ||
| *.pem | ||
| -/meta/safariextz/certs/ | ||
| /dist/build/ |
91
meta/safariextz/Info.plist
| @@ -1,91 +0,0 @@ | ||
| -<?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.10</string> | ||
| - <key>CFBundleVersion</key> | ||
| - <string>1456132</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/icon16.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. 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> |
22
meta/safariextz/Settings.plist
| @@ -1,22 +0,0 @@ | ||
| -<?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"> | ||
| -<array> | ||
| - <dict> | ||
| - <key>DefaultValue</key> | ||
| - <false/> | ||
| - <key>FalseValue</key> | ||
| - <false/> | ||
| - <key>Key</key> | ||
| - <string>open_prefs</string> | ||
| - <key>Secure</key> | ||
| - <false/> | ||
| - <key>Title</key> | ||
| - <string>Click to see the Preferences</string> | ||
| - <key>TrueValue</key> | ||
| - <true/> | ||
| - <key>Type</key> | ||
| - <string>CheckBox</string> | ||
| - </dict> | ||
| -</array> | ||
| -</plist> |
91
platform/safari/Info.plist
| @@ -0,0 +1,91 @@ | ||
| +<?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.2.0</string> | ||
| + <key>CFBundleVersion</key> | ||
| + <string>1</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/icon16.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. 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> |
22
platform/safari/Settings.plist
| @@ -0,0 +1,22 @@ | ||
| +<?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"> | ||
| +<array> | ||
| + <dict> | ||
| + <key>DefaultValue</key> | ||
| + <false/> | ||
| + <key>FalseValue</key> | ||
| + <false/> | ||
| + <key>Key</key> | ||
| + <string>open_prefs</string> | ||
| + <key>Secure</key> | ||
| + <false/> | ||
| + <key>Title</key> | ||
| + <string>Click to see the Preferences</string> | ||
| + <key>TrueValue</key> | ||
| + <true/> | ||
| + <key>Type</key> | ||
| + <string>CheckBox</string> | ||
| + </dict> | ||
| +</array> | ||
| +</plist> |
0
meta/safariextz/sitepatch-safari.js → platform/safari/sitepatch-safari.js
File renamed without changes
4
meta/safariextz/update_safariextz.plist → platform/safari/update_safariextz.plist
108
meta/safariextz/vapi-background.js → platform/safari/vapi-background.js
92
meta/safariextz/vapi-client.js → platform/safari/vapi-client.js
1
meta/safariextz/vapi-common.js → platform/safari/vapi-common.js
43
platform/vapi-appinfo.js
| @@ -1,43 +0,0 @@ | ||
| -/******************************************************************************* | ||
| - | ||
| - µBlock - a Chromium browser extension to block requests. | ||
| - Copyright (C) 2014 The µBlock authors | ||
| - | ||
| - This program is free software: you can redistribute it and/or modify | ||
| - it under the terms of the GNU General Public License as published by | ||
| - the Free Software Foundation, either version 3 of the License, or | ||
| - (at your option) any later version. | ||
| - | ||
| - This program is distributed in the hope that it will be useful, | ||
| - but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| - GNU General Public License for more details. | ||
| - | ||
| - You should have received a copy of the GNU General Public License | ||
| - along with this program. If not, see {http://www.gnu.org/licenses/}. | ||
| - | ||
| - Home: https://github.com/gorhill/uBlock | ||
| -*/ | ||
| - | ||
| -// Can be included anywhere if it's needed | ||
| - | ||
| -/* global self */ | ||
| - | ||
| -/******************************************************************************/ | ||
| - | ||
| -(function(){ | ||
| - | ||
| -'use strict'; | ||
| - | ||
| -/******************************************************************************/ | ||
| - | ||
| -self.vAPI = self.vAPI || {}; | ||
| - | ||
| -self.vAPI.app = { | ||
| - name: 'µBlock', | ||
| - version: '0.7.2.0' | ||
| -}; | ||
| - | ||
| -/******************************************************************************/ | ||
| - | ||
| -})(); |
9
src/js/tab.js
7
tools/make-safari.sh
No description provided.