-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from NotAProton/refactor
Version and Refactor
- Loading branch information
Showing
122 changed files
with
189 additions
and
105 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,62 @@ | ||
{ | ||
"manifest_version": 2, | ||
"icons": { | ||
"48": "icon/48.png", | ||
"128": "icon/128.png", | ||
"150": "icon/150.png", | ||
"176": "icon/176.png", | ||
"512": "icon/512.png" | ||
}, | ||
"default_locale": "en", | ||
"name": "Universal Bypass", | ||
"description": "__MSG_appDesc__", | ||
"homepage_url": "https://universal-bypass.org/", | ||
"version": "13.15.2", | ||
"author": "Sainan", | ||
"permissions": [ | ||
"alarms", | ||
"storage", | ||
"webRequest", | ||
"webRequestBlocking", | ||
"<all_urls>" | ||
], | ||
"options_ui": { | ||
"page": "html/options.html", | ||
"open_in_tab": true | ||
}, | ||
"browser_action": { | ||
"default_icon": { | ||
"48": "icon/48.png", | ||
"128": "icon/128.png", | ||
"150": "icon/150.png", | ||
"176": "icon/176.png", | ||
"512": "icon/512.png" | ||
}, | ||
"default_popup": "html/popup.html" | ||
}, | ||
"background": { | ||
"scripts": [ | ||
"background.js" | ||
] | ||
}, | ||
"content_scripts": [ | ||
{ | ||
"matches": [ | ||
"<all_urls>" | ||
], | ||
"js": [ | ||
"content_script.js" | ||
], | ||
"run_at": "document_start" | ||
} | ||
], | ||
"web_accessible_resources": [ | ||
"html/before-navigate.html", | ||
"html/blocked.html", | ||
"html/crowd-bypassed.html", | ||
"html/firstrun.html", | ||
"html/firstrun-noscript.html", | ||
"html/options.html", | ||
"icon/48.png" | ||
] | ||
} | ||
"manifest_version": 2, | ||
"icons": { | ||
"48": "icon/48.png", | ||
"128": "icon/128.png", | ||
"150": "icon/150.png", | ||
"176": "icon/176.png", | ||
"512": "icon/512.png" | ||
}, | ||
"default_locale": "en", | ||
"name": "Universal Bypass", | ||
"description": "__MSG_appDesc__", | ||
"homepage_url": "https://universal-bypass.org/", | ||
"version": "13.5.2", | ||
"author": "Sainan", | ||
"permissions": [ | ||
"alarms", | ||
"storage", | ||
"webRequest", | ||
"webRequestBlocking", | ||
"<all_urls>" | ||
], | ||
"options_ui": { | ||
"page": "html/options.html", | ||
"open_in_tab": true | ||
}, | ||
"browser_action": { | ||
"default_icon": { | ||
"48": "icon/48.png", | ||
"128": "icon/128.png", | ||
"150": "icon/150.png", | ||
"176": "icon/176.png", | ||
"512": "icon/512.png" | ||
}, | ||
"default_popup": "html/popup.html" | ||
}, | ||
"background": { | ||
"scripts": [ | ||
"background.js" | ||
] | ||
}, | ||
"content_scripts": [ | ||
{ | ||
"matches": [ | ||
"<all_urls>" | ||
], | ||
"js": [ | ||
"content_script.js" | ||
], | ||
"run_at": "document_start" | ||
} | ||
], | ||
"web_accessible_resources": [ | ||
"html/before-navigate.html", | ||
"html/blocked.html", | ||
"html/crowd-bypassed.html", | ||
"html/firstrun.html", | ||
"html/firstrun-noscript.html", | ||
"html/options.html", | ||
"icon/48.png" | ||
] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"manifest_version": 2, | ||
"icons": { | ||
"48": "icon/48.png", | ||
"128": "icon/128.png", | ||
"150": "icon/150.png", | ||
"176": "icon/176.png", | ||
"512": "icon/512.png" | ||
}, | ||
"default_locale": "en", | ||
"name": "Universal Bypass", | ||
"description": "__MSG_appDesc__", | ||
"homepage_url": "https://universal-bypass.org/", | ||
"version": "13.15.2", | ||
"author": "Sainan", | ||
"permissions": [ | ||
"alarms", | ||
"storage", | ||
"webRequest", | ||
"webRequestBlocking", | ||
"<all_urls>" | ||
], | ||
"options_ui": { | ||
"page": "html/options.html", | ||
"open_in_tab": true | ||
}, | ||
"browser_action": { | ||
"default_icon": { | ||
"48": "icon/48.png", | ||
"128": "icon/128.png", | ||
"150": "icon/150.png", | ||
"176": "icon/176.png", | ||
"512": "icon/512.png" | ||
}, | ||
"default_popup": "html/popup.html" | ||
}, | ||
"background": { | ||
"scripts": [ | ||
"background.js" | ||
] | ||
}, | ||
"content_scripts": [ | ||
{ | ||
"matches": [ | ||
"<all_urls>" | ||
], | ||
"js": [ | ||
"content_script.js" | ||
], | ||
"run_at": "document_start" | ||
} | ||
], | ||
"web_accessible_resources": [ | ||
"html/before-navigate.html", | ||
"html/blocked.html", | ||
"html/crowd-bypassed.html", | ||
"html/firstrun.html", | ||
"html/firstrun-noscript.html", | ||
"html/options.html", | ||
"icon/48.png" | ||
] | ||
} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# This script assumes a linux environment | ||
|
||
set -e | ||
|
||
DES=$1 | ||
|
||
#bash ./tools/make-assets.sh $DES | ||
|
||
cp -R src/html/ $DES | ||
cp -R src/_locales/ $DES | ||
cp -R src/icon/ $DES | ||
cp -R src/icon_disabled/ $DES | ||
cp -RT src/js/ $DES | ||
cp PRIVACY.md $DES |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# This script assumes a linux environment | ||
|
||
set -e | ||
|
||
manifest_loc=$1 | ||
|
||
|
||
if [[ $# -lt 2 ]]; then | ||
version=$(cat ../../src/version.txt) | ||
sed -i '/"version":/c\ "version": "'$version'",' $1 | ||
echo vesrioned $(basename $1) to $version | ||
|
||
elif [ "$2" = "no" ]; then | ||
version="0.$(git shortlog | grep -E '^[ ]+\w+' | wc -l)" | ||
sed -i '/"version":/c\ "version": "'$version'",' $1 | ||
echo vesrioned $(basename $1) to $version | ||
|
||
else | ||
version="0.$(git shortlog | grep -E '^[ ]+\w+' | wc -l).$2" | ||
sed -i '/"version":/c\ "version": "'$version'",' $1 | ||
echo vesrioned $(basename $1) to $version | ||
fi | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<script src="base.js"></script><script src="popup.js"></script> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
brws.runtime.sendMessage({type: "open-tab", url: brws.runtime.getURL("/html/options.html")}) | ||
window.close() | ||
window.close() |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
"asi": true, | ||
"esversion": 6, | ||
"evil": true | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.0.0 |