1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-02 00:42:45 +01:00
Commit Graph

1490 Commits

Author SHA1 Message Date
Deathamns
5e55ba772d Code styling 2015-01-13 07:29:49 +01:00
Deathamns
9169388849 Firefox: ownsWeak=true for observers, +minor mods 2015-01-13 07:29:47 +01:00
Deathamns
b8c943d539 Make vAPI.setIcon less Chromium specific 2015-01-13 07:29:46 +01:00
Deathamns
b301ac031e Popup related changes 2015-01-13 07:29:44 +01:00
Deathamns
dbfacad8a6 Firefox: new method for request handling
Now both nsIContentPolicy and on-http-* observers are used for net request
monitoring.

Reasons:
 - In many cases, nsIContentPolicy.shouldLoad is invoked twice for the same
   resource, because of the speculative parsing.
 - nsIContentPolicy.shouldLoad don't have information about the channel,
   so it can't redirect the request, nor change its headers, however
   on-http-opening-request can.

Also, local mirroring and inline-script blocking has been implemented.
2015-01-13 07:29:43 +01:00
Deathamns
720794357c Safari: get appinfo from tooltip 2015-01-13 07:29:41 +01:00
Deathamns
7815455aca Fix build scipts' shebang, let -> const 2015-01-13 07:29:40 +01:00
Deathamns
7ade0ec7e8 Firefox: better way to get the messageManager 2015-01-13 07:29:39 +01:00
Deathamns
5c2af95c73 Firefox: proper cleanup for context-menu item 2015-01-13 07:29:37 +01:00
Deathamns
d4b2b81ae8 Firefox: move callback to last call 2015-01-13 07:29:36 +01:00
Deathamns
1bb074211c Firefox: saved prefs were overwritten by defaults 2015-01-13 07:29:34 +01:00
Deathamns
16a7bcb3d8 Firefox: add missing vAPI.onLoadAllCompleted 2015-01-13 07:29:33 +01:00
Deathamns
a07b3a1d3e Python2 compatibility for build scripts 2015-01-13 07:29:32 +01:00
Deathamns
8a19f32373 Remove duplicate 'use strict'; 2015-01-13 07:29:30 +01:00
Deathamns
90c874c2aa Slight update for Python scripts 2015-01-13 07:29:29 +01:00
Deathamns
85ee514ebc Firefox: improve vAPI.tabs.getTabId 2015-01-13 07:29:28 +01:00
Deathamns
c45b7c75e2 Firefox: implement vAPI.contextMenu 2015-01-13 07:29:26 +01:00
Deathamns
0d28d19a4e Chrome,Safari: fix typo and quotes 2015-01-13 07:29:25 +01:00
Deathamns
aa2dc049a2 Firefox: set "en" as default locale 2015-01-13 07:29:23 +01:00
Deathamns
782f8d441d Firefox: revert previous change
Initializing the extension with AddonManager takes too long (at least for
this extension).
When starting the browser, tabs loaded before the extension could, and
because of that, blocking didn't work.
It works better, if it's initialized when the window's DOM is ready.
2015-01-13 07:29:22 +01:00
Deathamns
e61514b9b1 Firefox,Safari: fill vAPI.app in a different way
Pass the extension data (name and version) as the fragment of the URL
for the background script, so vAPI.app can be filled without using XHR
to read the manifest files.
2015-01-13 07:29:21 +01:00
Deathamns
20bd1287cf Firefox: location.host isntead of app.cleanName 2015-01-13 07:29:19 +01:00
Deathamns
4e271aebb3 Include LICENSE.txt into extension packages 2015-01-13 07:29:18 +01:00
Deathamns
ecdee65fda Add license headers, plus some code styling 2015-01-13 07:29:16 +01:00
Deathamns
8bb0d3276b Firefox: minor changes 2015-01-13 07:29:15 +01:00
Deathamns
e20458a00f Firefox: fix script injection 2015-01-13 07:29:14 +01:00
Deathamns
f74f07e092 Firefox: implement vAPI.tabs.injectScript 2015-01-13 07:29:12 +01:00
Deathamns
0e7122edf4 Firefox: 'load' -> 'DOMContentLoaded' 2015-01-13 07:29:11 +01:00
Deathamns
1eb81e4083 Firefox: fix 'main_frame' for e10s 2015-01-13 07:29:09 +01:00
Deathamns
d13769b4a9 Firefox: initialize buttons when DOM is ready 2015-01-13 07:29:07 +01:00
Deathamns
45137c2be9 Firefox: update manifest files when building 2015-01-13 07:29:06 +01:00
Deathamns
ec69a50101 Firefox: observe main_frame requests too 2015-01-13 07:29:05 +01:00
Deathamns
892e2fe45a Firefox: fix styling for toolbar button 2015-01-13 07:29:03 +01:00
Deathamns
cb5d860725 Firefox: implement toolbar button and popup 2015-01-13 07:29:01 +01:00
Deathamns
e4329b7dfe Firefox: blocking and content scripts for e10s 2015-01-13 07:29:00 +01:00
Deathamns
0f771e94d1 Firefox: add basic blocking + some fixes 2015-01-13 07:28:59 +01:00
Deathamns
3c76c61f61 Firefox: partial vAPI.tabs implementation 2015-01-13 07:28:57 +01:00
Deathamns
8297014700 Firefox: implement vAPI.storage via SQLite 2015-01-13 07:28:56 +01:00
Deathamns
98e5645ab5 Firefox: implement content scripts 2015-01-13 07:28:54 +01:00
Deathamns
67f18d023c Initial Firefox port (base, messaging, locales) 2015-01-13 07:28:52 +01:00
gorhill
2016eff2a1 Merge branch 'master' of github.com:gorhill/uBlock 2015-01-12 17:44:47 -05:00
gorhill
be7aa91bfb this fixes #487 2015-01-12 17:44:39 -05:00
Raymond Hill
d8da9e6c01 Merge pull request #488 from chrisaljoudi/master
Overhaul README
2015-01-12 16:40:19 -05:00
Chris Aljoudi
9056f0c506 Overhaul README
Indexed, reorganized, some revision — big overhaul
2015-01-12 13:03:09 -07:00
gorhill
a617e195fe new revision 2015-01-12 10:12:10 -05:00
gorhill
6b15697f46 translation work from crowdin 2015-01-12 10:11:55 -05:00
gorhill
42937eb1b1 this fixes #482 2015-01-12 10:10:03 -05:00
Raymond Hill
b8cd524167 Merge pull request #480 from chrisaljoudi/master
Fix Safari i18n function (default to '' if no localized string found)
2015-01-12 00:10:10 -05:00
Chris
e287e4643f Fix Safari i18n function (default to '' if no localized string found) 2015-01-11 20:37:49 -07:00
Raymond Hill
3982bd6de9 Merge pull request #478 from chrisaljoudi/master
Safari: remove extra call to popup resize -- now smoother
2015-01-11 21:43:01 -05:00