mirror of https://github.com/gorhill/uBlock.git
fix "Preferences" button in about:addons (see https://www.ghacks.net/2017/09/29/firefox-adblock-plus-lost-millions-of-users-in-the-past-year/#comment-4233295)
This commit is contained in:
parent
ca299a394f
commit
ec3d1bfc88
|
@ -64,7 +64,8 @@
|
|||
"manifest_version":2,
|
||||
"name":"uBlock Origin",
|
||||
"options_ui":{
|
||||
"page":"options_ui.html"
|
||||
"page":"dashboard.html",
|
||||
"open_in_tab": true
|
||||
},
|
||||
"permissions":[
|
||||
"contextMenus",
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
<!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>
|
|
@ -18,18 +18,18 @@ cp -R src/lib $DES/
|
|||
cp -R src/_locales $DES/
|
||||
cp -R $DES/_locales/nb $DES/_locales/no
|
||||
cp src/*.html $DES/
|
||||
cp platform/chromium/*.js $DES/js/
|
||||
cp -R platform/chromium/img $DES/
|
||||
cp platform/chromium/*.js $DES/js/
|
||||
cp platform/chromium/*.html $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/vapi-webrequest.js $DES/js/
|
||||
cp platform/webext/vapi-cachestorage.js $DES/js/
|
||||
cp platform/webext/vapi-usercss.js $DES/js/
|
||||
rm $DES/options_ui.html
|
||||
rm $DES/js/options_ui.js
|
||||
|
||||
echo "*** uBlock0.webext: Generating meta..."
|
||||
|
|
Loading…
Reference in New Issue