Browse Source
Minor fixes (#1005)
Minor fixes (#1005)
* correct cloud-download/upload icon CSS selectors * fix scope tooltip in logger appearing offscreen * open logger/dashboard links adjacent to current tab (match uBO's behaviour) * opera: fix manifest version not being updated Version code copied from tools/make-chromium-meta.py * fix https://www.reddit.com/r/uBlockOrigin/comments/9gwrna/when_you_right_click_and_go_to_options_it_keeps/ source: *pull/2/head6dd6dc5f1d
* remove unused "processReferer" setting It was changed to a matrix switch in5d8bae3da2
* remove unused source code source: *f516cd3d26
*0503f52b1e
* remove bold version of Roboto font (unused from HTTPSB) * correct FontAwesome license after change from v5 back to v4.7 License copied frombb737e29d5
* fix build scripts afterc0f4abfd00
xofe
6 years ago
committed by
Raymond Hill
18 changed files with 71 additions and 177 deletions
-
5platform/chromium/manifest.json
-
10platform/chromium/options_ui.html
-
45platform/chromium/options_ui.js
-
1src/background.html
-
6src/css/common.css
-
4src/css/fa-icons.css
-
BINsrc/css/fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf
-
4src/css/popup.css
-
51src/img/fontawesome/LICENSE.txt
-
31src/img/fontawesome/fontawesome-defs.svg
-
1src/js/background.js
-
62src/js/profiler.js
-
1src/js/utils.js
-
2src/logger-ui.html
-
1tools/make-chromium.sh
-
5tools/make-firefox.sh
-
18tools/make-opera-meta.py
-
1tools/make-opera.sh
@ -1,10 +0,0 @@ |
|||
<!DOCTYPE html> |
|||
<head> |
|||
<meta charset="utf-8"> |
|||
<title></title> |
|||
</head> |
|||
<body> |
|||
<script src="js/vapi-client.js"></script> |
|||
<script src="js/options_ui.js"></script> |
|||
</body> |
|||
</html> |
@ -1,45 +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'; |
|||
|
|||
var messager = vAPI.messaging.channel('_open'); |
|||
messager.send({ |
|||
what: 'gotoURL', |
|||
details: { |
|||
url: 'dashboard.html', |
|||
select: true, |
|||
index: -1 |
|||
} |
|||
}); |
|||
window.close(); |
|||
|
|||
/******************************************************************************/ |
|||
|
|||
})(); |
|||
|
|||
/******************************************************************************/ |
@ -1,34 +1,25 @@ |
|||
Font Awesome Free License |
|||
------------------------- |
|||
# [Font Awesome v4.7.0](http://fontawesome.io) |
|||
### The iconic font and CSS framework |
|||
|
|||
Font Awesome Free is free, open source, and GPL friendly. You can use it for |
|||
commercial projects, open source projects, or really almost whatever you want. |
|||
Full Font Awesome Free license: https://fontawesome.com/license/free. |
|||
Font Awesome is a full suite of 675 pictographic icons for easy scalable vector graphics on websites, |
|||
created and maintained by [Dave Gandy](https://twitter.com/davegandy). |
|||
Stay up to date with the latest release and announcements on Twitter: |
|||
[@fontawesome](http://twitter.com/fontawesome). |
|||
|
|||
# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/) |
|||
In the Font Awesome Free download, the CC BY 4.0 license applies to all icons |
|||
packaged as SVG and JS file types. |
|||
Get started at http://fontawesome.io! |
|||
|
|||
# Fonts: SIL OFL 1.1 License (https://scripts.sil.org/OFL) |
|||
In the Font Awesome Free download, the SIL OLF license applies to all icons |
|||
packaged as web and desktop font files. |
|||
## License |
|||
- The Font Awesome font is licensed under the SIL OFL 1.1: |
|||
- http://scripts.sil.org/OFL |
|||
- Font Awesome CSS, LESS, and Sass files are licensed under the MIT License: |
|||
- https://opensource.org/licenses/mit-license.html |
|||
- The Font Awesome documentation is licensed under the CC BY 3.0 License: |
|||
- http://creativecommons.org/licenses/by/3.0/ |
|||
- Attribution is no longer required as of Font Awesome 3.0, but much appreciated: |
|||
- `Font Awesome by Dave Gandy - http://fontawesome.io` |
|||
- Full details: http://fontawesome.io/license/ |
|||
|
|||
# Code: MIT License (https://opensource.org/licenses/MIT) |
|||
In the Font Awesome Free download, the MIT license applies to all non-font and |
|||
non-icon files. |
|||
|
|||
# Attribution |
|||
Attribution is required by MIT, SIL OLF, and CC BY licenses. Downloaded Font |
|||
Awesome Free files already contain embedded comments with sufficient |
|||
attribution, so you shouldn't need to do anything additional when using these |
|||
files normally. |
|||
|
|||
We've kept attribution comments terse, so we ask that you do not actively work |
|||
to remove them from files, especially code. They're a great way for folks to |
|||
learn about Font Awesome. |
|||
|
|||
# Brand Icons |
|||
All brand icons are trademarks of their respective owners. The use of these |
|||
trademarks does not indicate endorsement of the trademark holder by Font |
|||
Awesome, nor vice versa. **Please do not use brand logos for any purpose except |
|||
to represent the company, product, or service to which they refer.** |
|||
## Author |
|||
- Email: dave@fontawesome.io |
|||
- Twitter: http://twitter.com/davegandy |
|||
- GitHub: https://github.com/davegandy |
@ -1,62 +0,0 @@ |
|||
/******************************************************************************* |
|||
|
|||
µMatrix - a Chromium browser extension to black/white list requests. |
|||
Copyright (C) 2014 Raymond Hill |
|||
|
|||
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/uMatrix
|
|||
*/ |
|||
|
|||
/******************************************************************************/ |
|||
|
|||
var quickProfiler = (function() { |
|||
var timer = performance; |
|||
var time = 0; |
|||
var count = 0; |
|||
var tstart = 0; |
|||
var lastlog = timer.now(); |
|||
var prompt = ''; |
|||
var reset = function() { |
|||
time = 0; |
|||
count = 0; |
|||
tstart = 0; |
|||
}; |
|||
var avg = function() { |
|||
return count > 0 ? time / count : 0; |
|||
}; |
|||
var start = function(s) { |
|||
prompt = s || ''; |
|||
tstart = timer.now(); |
|||
}; |
|||
var stop = function(period) { |
|||
if ( period === undefined ) { |
|||
period = 10000; |
|||
} |
|||
var now = timer.now(); |
|||
count += 1; |
|||
time += (now - tstart); |
|||
if ( (now - lastlog) >= period ) { |
|||
console.log('µMatrix> %s: %s ms (%d samples)', prompt, avg().toFixed(3), count); |
|||
lastlog = now; |
|||
} |
|||
}; |
|||
return { |
|||
reset: reset, |
|||
start: start, |
|||
stop: stop |
|||
}; |
|||
})(); |
|||
|
|||
/******************************************************************************/ |
Write
Preview
Loading…
Cancel
Save
Reference in new issue