mirror of
https://github.com/gorhill/uBlock.git
synced 2025-01-31 12:11:36 +01:00
This commit is contained in:
parent
914156fb22
commit
6dd6dc5f1d
@ -63,9 +63,9 @@
|
|||||||
"optional_permissions": [
|
"optional_permissions": [
|
||||||
"file:///*"
|
"file:///*"
|
||||||
],
|
],
|
||||||
"options_page": "dashboard.html",
|
|
||||||
"options_ui": {
|
"options_ui": {
|
||||||
"page": "options_ui.html"
|
"page": "dashboard.html",
|
||||||
|
"open_in_tab": true
|
||||||
},
|
},
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"contextMenus",
|
"contextMenus",
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<script src="js/vapi.js"></script>
|
|
||||||
<script src="js/vapi-client.js"></script>
|
|
||||||
<script src="js/options_ui.js"></script>
|
|
||||||
<title></title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<a href="dashboard.html" target="uBO">Dashboard</a>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,47 +0,0 @@
|
|||||||
/*******************************************************************************
|
|
||||||
|
|
||||||
µBlock - a browser extension to block requests.
|
|
||||||
Copyright (C) 2015 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
|
|
||||||
*/
|
|
||||||
|
|
||||||
/******************************************************************************/
|
|
||||||
|
|
||||||
(function() {
|
|
||||||
|
|
||||||
/******************************************************************************/
|
|
||||||
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
vAPI.messaging.send(
|
|
||||||
'default',
|
|
||||||
{
|
|
||||||
what: 'gotoURL',
|
|
||||||
details: {
|
|
||||||
url: 'dashboard.html',
|
|
||||||
select: true,
|
|
||||||
index: -1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
);
|
|
||||||
window.close();
|
|
||||||
|
|
||||||
/******************************************************************************/
|
|
||||||
|
|
||||||
})();
|
|
||||||
|
|
||||||
/******************************************************************************/
|
|
@ -40,8 +40,6 @@ rm $DES/js/vapi-usercss.pseudo.js
|
|||||||
|
|
||||||
# Firefox/webext-specific
|
# Firefox/webext-specific
|
||||||
rm $DES/img/icon_128.png
|
rm $DES/img/icon_128.png
|
||||||
rm $DES/options_ui.html
|
|
||||||
rm $DES/js/options_ui.js
|
|
||||||
|
|
||||||
echo "*** uBlock0.firefox: Generating web accessible resources..."
|
echo "*** uBlock0.firefox: Generating web accessible resources..."
|
||||||
cp -R src/web_accessible_resources $DES/
|
cp -R src/web_accessible_resources $DES/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user