fix #2843: do not auto open dashboard on Firefox

This commit is contained in:
gorhill 2017-08-05 09:50:21 -04:00
parent dd2d15e36b
commit 61a538e9f2
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
3 changed files with 24 additions and 5 deletions

View File

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<a href="dashboard.html" data-i18n="popupTipDashboard" target="uBO-dashboard"></a><br>
<a href="logger-ui.html" data-i18n="popupTipLog" target="uBO-logger"></a>
<script src="js/vapi-common.js"></script>
<script src="js/i18n.js"></script>
</body>
</html>

View File

@ -22,13 +22,16 @@ cp platform/chromium/*.js $DES/webextension/js/
cp -R platform/chromium/img $DES/webextension/ cp -R platform/chromium/img $DES/webextension/
cp platform/chromium/*.html $DES/webextension/ cp platform/chromium/*.html $DES/webextension/
cp platform/chromium/*.json $DES/webextension/ cp platform/chromium/*.json $DES/webextension/
cp platform/webext/polyfill.js $DES/webextension/js/
cp platform/webext/vapi-usercss.js $DES/webextension/js/
cp platform/webext/manifest.json $DES/webextension/
cp LICENSE.txt $DES/webextension/ cp LICENSE.txt $DES/webextension/
cp platform/webext/manifest.json $DES/webextension/
cp platform/webext/background.html $DES/webextension/ cp platform/webext/background.html $DES/webextension/
cp platform/webext/options_ui.html $DES/webextension/
cp platform/webext/polyfill.js $DES/webextension/js/
cp platform/webext/vapi-usercss.js $DES/webextension/js/
cp platform/webext/from-legacy.js $DES/webextension/js/ cp platform/webext/from-legacy.js $DES/webextension/js/
rm $DES/webextension/js/options_ui.js
cp platform/webext/bootstrap.js $DES/ cp platform/webext/bootstrap.js $DES/
cp platform/webext/chrome.manifest $DES/ cp platform/webext/chrome.manifest $DES/
cp platform/webext/install.rdf $DES/ cp platform/webext/install.rdf $DES/

View File

@ -22,10 +22,13 @@ cp platform/chromium/*.js $DES/js/
cp -R platform/chromium/img $DES/ cp -R platform/chromium/img $DES/
cp platform/chromium/*.html $DES/ cp platform/chromium/*.html $DES/
cp platform/chromium/*.json $DES/ cp platform/chromium/*.json $DES/
cp LICENSE.txt $DES/
cp platform/webext/manifest.json $DES/
cp platform/webext/options_ui.html $DES/
cp platform/webext/polyfill.js $DES/js/ cp platform/webext/polyfill.js $DES/js/
cp platform/webext/vapi-usercss.js $DES/js/ cp platform/webext/vapi-usercss.js $DES/js/
cp platform/webext/manifest.json $DES/ rm $DES/js/options_ui.js
cp LICENSE.txt $DES/
echo "*** uBlock0.webext: Generating meta..." echo "*** uBlock0.webext: Generating meta..."
python tools/make-webext-meta.py $DES/ python tools/make-webext-meta.py $DES/