Commit graph

38 commits

Author SHA1 Message Date
gorhill
7970f4dc70 new cosmetic filter to foil specific inline script tags 2015-09-26 19:07:23 -04:00
gorhill
94a1d72fc8 https://github.com/chrisaljoudi/uBlock/issues/1528: apply fix to scriptlets too 2015-08-28 10:44:33 -04:00
gorhill
1a380f0959 this fixes https://github.com/chrisaljoudi/uBlock/issues/1528
An XML document can be a valid HTML document. Try to instanciate
a HTMLDivElement to find out whether we are dealing with an actual
HTML document or not.
2015-08-28 10:33:58 -04:00
gorhill
118a7792cc multiple shadow roots is deprecated: https://www.chromestatus.com/features/4668884095336448 2015-08-13 19:36:54 -04:00
gorhill
980125b8af minor code review 2015-08-03 09:25:18 -04:00
gorhill
6ea3338f26 code review 2015-08-02 23:49:17 -04:00
Sean Rand
b0072eab57 try/catch createShadowRoot in contentscripts 2015-08-03 01:31:20 +02:00
gorhill
5e2b694197 removed useless return value 2015-07-11 12:17:58 -04:00
gorhill
e3e4d577ee this makes shadow DOM work on Firefox 2015-07-06 13:53:39 -04:00
gorhill
febb18147a #435: using shadow nodes instead of modifying directly nodes' style attr 2015-07-06 07:48:56 -04:00
gorhill
78b64dc2c6 this fixes bad test 2015-05-16 13:40:56 -04:00
gorhill
0ce32af7af this fixes under-reporting of active cosmetic filters in logger 2015-04-25 08:27:27 -04:00
gorhill
3d3bd13ea1 report active cosmetic filters in logger 2015-04-25 07:28:35 -04:00
gorhill
31bea1d08b code review 2015-04-07 19:34:22 -04:00
gorhill
4aa61fcf89 this fixes https://github.com/gorhill/uMatrix/issues/144 2015-04-07 19:10:03 -04:00
YFdyh000
6e77ec33ff Correct issue links 2015-04-07 09:46:26 +08:00
gorhill
2dde6f15de new switch: toggle cosmetic filtering on/off for a site 2015-04-05 12:03:14 -04:00
Deathamns
95b778fbc7 Change extension description 2015-03-07 19:20:18 +01:00
Chris
fbddda46bb start contentscript: don't query href twice 2015-03-04 02:01:04 -07:00
gorhill
c7bab5502e this mitigates #520, #376 2015-02-23 18:31:29 -05:00
gorhill
337cfeb150 do not leak uBlock is in use (see comment in 21ea1a6e03) 2015-02-14 13:51:08 -05:00
gorhill
21ea1a6e03 #789: code review: simpler, just keep a reference to the style tag 2015-02-14 12:27:33 -05:00
gorhill
65b9ef2468 this fixes #789 2015-02-14 12:16:36 -05:00
Chris
a17882a8cc Remove previous Safari overhead; cleanup workarounds from rest of code 2015-02-10 14:24:04 -07:00
gorhill
f718e8e1f2 better/safer fix for #587 2015-01-23 15:02:47 -05:00
gorhill
44bc263a69 code review: oops 2015-01-23 11:56:43 -05:00
gorhill
eeb5e8de5b associate code change with issue #587 2015-01-23 11:47:31 -05:00
gorhill
673b8774be this fixes #582 2015-01-23 11:32:49 -05:00
gorhill
de9fad5ec3 this fixes #464 2015-01-13 15:52:15 -05:00
gorhill
2d05d51664 code review for #456 2015-01-01 21:14:53 -05:00
gorhill
2a7e9f8d98 this fixes #456: another unrelated bug unveil from previous fix 2015-01-01 20:58:19 -05:00
gorhill
0cdc703f13 #423: code review 2014-12-19 14:04:17 -05:00
gorhill
6fc7f96a48 this fixes #423 2014-12-19 14:00:46 -05:00
Raymond Hill
f141d6f769 fixed overzealous cosmetic filter bug introduced in #365 2014-11-26 17:26:33 -02:00
Raymond Hill
c4838581fd this fixes #365 2014-11-16 17:06:29 -02:00
Raymond Hill
eafc96859c further separate platform-specific code 2014-11-15 16:15:11 -02:00
Deathamns
0886f7e886 Add .jshintrc, and use the "use strict" directive
.jshintrc's otion-set is a personal choice, merely a suggestion.
Beside that, it includes some common globals for specific browsers, so
there's no need to set the globals in every .js file.

In order to force strict coding, "use strict" directive was added into
every .js file.
2014-11-09 17:39:17 +01:00
Deathamns
5b79bf3536 Work on vendor API abstraction, and near complete Safari support 2014-11-09 17:39:12 +01:00
Renamed from js/contentscript-start.js (Browse further)