Commit Graph

81 Commits

Author SHA1 Message Date
gorhill c7bab5502e this mitigates #520, #376 2015-02-23 18:31:29 -05:00
Deathamns 7dd60738c1 Save mouse position only in top document
... for the element picker. This way, right click/block element in an
iframe won't select the wrong element in the top document. Instead, it
will allow the user to pick the element manually.
2015-02-16 18:17:26 +01:00
gorhill 337cfeb150 do not leak uBlock is in use (see comment in 21ea1a6e03) 2015-02-14 13:51:08 -05:00
gorhill 9d76974710 #789: code review: even simpler, just check parent node 2015-02-14 12:32:14 -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 c7edec0d68 this fixes #683 2015-02-04 00:24:12 -05:00
gorhill ba54b43fc4 trivial improvements 2015-01-27 13:42:17 -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 057e95bed0 fixed comment 2015-01-01 19:16:02 -05:00
gorhill 33d73b343d this fixes #456 2015-01-01 19:09:40 -05:00
gorhill 8562f70144 avoid potential double execution of firstRetrieveHandler (because mutations observer) 2015-01-01 09:15:37 -05:00
gorhill aca35e4cbc code review for #452: avoid if'ing each time 2015-01-01 08:09:44 -05:00
gorhill 4c7533b786 code review for #452 2015-01-01 07:46:33 -05:00
gorhill baa0fee0f3 this fixes #452 2014-12-31 23:09:22 -05:00
gorhill 6fc7f96a48 this fixes #423 2014-12-19 14:00:46 -05:00
Raymond Hill 0501c0712a this fixes #399 2014-12-06 15:00:31 -02:00
Raymond Hill c6227289a6 code review 2014-11-27 09:41:28 -02: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 8f0b3cf592 Move MutationObserver shim
Since it will be used only for older Safari versions, move it to Safari
related code, so it doesn't pollute the content scripts.
2014-11-12 10:22:57 +01:00
Deathamns 8edb628e1e Only top window should have type `main_frame` 2014-11-11 13:33:55 +01:00
Deathamns bccf3d68e2 Add dummy MutationObserver shim for older browsers 2014-11-09 17:40:54 +01: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