1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-04 16:47:15 +02:00
Raymond Hill 2018-09-18 20:14:09 -04:00
parent 914156fb22
commit 6dd6dc5f1d
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
4 changed files with 2 additions and 64 deletions

View File

@ -63,9 +63,9 @@
"optional_permissions": [
"file:///*"
],
"options_page": "dashboard.html",
"options_ui": {
"page": "options_ui.html"
"page": "dashboard.html",
"open_in_tab": true
},
"permissions": [
"contextMenus",

View File

@ -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>

View File

@ -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();
/******************************************************************************/
})();
/******************************************************************************/

View File

@ -40,8 +40,6 @@ rm $DES/js/vapi-usercss.pseudo.js
# Firefox/webext-specific
rm $DES/img/icon_128.png
rm $DES/options_ui.html
rm $DES/js/options_ui.js
echo "*** uBlock0.firefox: Generating web accessible resources..."
cp -R src/web_accessible_resources $DES/