Commit Graph

151 Commits

Author SHA1 Message Date
AlexVallat 204404db06 Fix for #1448: Raise tab close events for all the tabs of a window when that window is closed. Made getTabForBrowser robust to being called for orphaned tab browsers. 2015-06-23 18:09:32 +01:00
AlexVallat eb264c6b87 Fix for #1437 - support for browsers which don't support getTabForBrowser 2015-06-07 19:30:31 +01:00
AlexVallat f959f19fbc Address performance issue reported with large number of open tabs: gorhill#266
(maintain reverse lookup map of tabs by tab ID rather than searching through all tabs to find by ID)
2015-05-31 16:37:19 +01:00
gorhill 7b652bd665 this fixes overlooked code change in 1d3205ea81 2015-05-17 11:44:37 -04:00
Chris 801e6d706f Change back to 'Block Element' until later (details:...)
until we have a more general 'element picker' equivalent that can
block resources. So having this exposed in the request logger would
be basically useless (since the only type of stuff that one would
want to block using the request logger are probably things that
aren't visible DOM elements)
2015-05-14 17:04:55 -06:00
Chris 73cec697ea Rename 'Block Resource' i18n key (prepping to add it to request logger) 2015-05-14 16:04:05 -06:00
Chris Aljoudi 992af976d0 Merge pull request #1324 from chrisaljoudi/NetMonitor_Block_Element
Add a "Block Resource" context menu command to the Firefox Network tab in devtools
2015-05-14 15:49:55 -06:00
Chris 288ea7b4cc Storage: distinguish preferences from caches (addresses #1366) 2015-05-11 15:18:25 -06:00
AlexVallat 424f13178a Change net monitor menu label to be independent, and to be "Block Resource" 2015-04-29 18:45:11 +01:00
gorhill 5205f1474c important fixes: #150 + a case where a tab could still be unbound 2015-04-29 12:21:46 -04:00
AlexVallat c98ff26709 Add a "Block Element" context menu command to the Firefox Network tab (to match the one in the Inspector tab) 2015-04-26 19:46:02 +01:00
gorhill 158abcaac1 Merge branch 'master' of https://github.com/chrisaljoudi/uBlock into chrisaljoudi 2015-04-26 12:16:45 -04:00
AlexVallat ed6064912e Fix for race condition adding double context menu entries 2015-04-25 18:33:20 +01:00
AlexVallat d9b23d4f10 Fixing for PaleMoon under Linux, and general cosmetic improvements to button. Also possibly fix SeaMonkey static filtering broken until settings reset issue. 2015-04-25 14:08:01 +01:00
AlexVallat 5ac4ec21e9 Experimental legacy (non-Australis) toolbar button 2015-04-24 18:57:30 +01:00
gorhill 85f8e05080 Merge branch 'master' of https://github.com/chrisaljoudi/uBlock into chrisaljoudi 2015-04-20 09:21:05 -04:00
AlexVallat a9ce082c34 Fixes #505 by making popup vertically aligned when appearing in Firefox panel menu 2015-04-19 16:43:21 +01:00
gorhill eeb792cc8b Merge branch 'master' of https://github.com/chrisaljoudi/uBlock into chrisaljoudi 2015-04-13 23:38:57 -04:00
Chris fa3666f85d Refactor context-keeping
Improves reliability and thoroughness of blocking on all
browsers.
2015-04-13 18:58:50 -06:00
gorhill 041323a916 Merge branch 'master' of https://github.com/chrisaljoudi/uBlock into chrisaljoudi 2015-04-12 07:00:45 -04:00
Chris e8572bdc21 Element picker: cleanup and Firefox improvements (closes #1211)
In Firefox, you can now block an element right from the Web Inspector.
This was implemented by @AlexVallat -- thanks to Alex for the awesome
feature enhancement.
2015-04-11 23:23:22 -06:00
gorhill b27f87dee0 Merge branch 'master' of https://github.com/chrisaljoudi/uBlock into chrisaljoudi 2015-04-11 16:32:44 -04:00
AlexVallat 5896991718 Fix for #1233 2015-04-11 19:12:10 +01:00
gorhill fe9fefce31 removed pointless lines -- remnants of trying out stuff 2015-04-10 17:38:08 -04:00
Chris c70a932d86 Fix issue links in source code
Thanks @hotdogman and @yfdyh000 -- closes #1202
and #1157 ... and #1167
2015-04-08 16:36:14 -06:00
AlexVallat 7b781248f0 Fix spurious log messages at cleanup 2015-04-05 17:54:19 +01:00
AlexVallat caea8c5497 Prevent resetting of block count statistics in the more normal case of onLocationChange occurring before document-element-inserted 2015-04-04 10:41:24 +01:00
AlexVallat a694d1ed60 Fix for #1176 2015-04-04 09:37:55 +01:00
AlexVallat 6c8b2a1b61 Changes following review 2015-03-31 12:03:35 +01:00
AlexVallat ae310df6dd Merge branch 'webProgressListener'
Conflicts:
	platform/firefox/vapi-background.js
2015-03-31 08:00:50 +01:00
AlexVallat 50dfc40f26 No need for special treatment for about:blank and about:newtab 2015-03-31 07:48:45 +01:00
AlexVallat 49442e237e Fix for #1122 2015-03-31 07:48:45 +01:00
AlexVallat 726325ea0d Remove onNavigation from onTabSelect, as mentioned in #1125 2015-03-30 18:35:18 +01:00
gorhill 8d61a04b3e translation work from https://crowdin.com/project/ublock 2015-03-28 15:17:40 -04:00
gorhill f2ff0edfaf this fixes #1013, #1062 (draft) 2015-03-27 13:00:55 -04:00
AlexVallat 6123335c51 Use a nsIWebProgressListener instead of a tabsProgressListener for location change monitoring 2015-03-26 21:00:56 +00:00
Deathamns bb1bb84682 Merge pull request #1084 from AlexVallat/master
Fix for #1072: Listen to DOMTitleChanged
2015-03-26 16:56:36 +01:00
AlexVallat 019ce25822 Cleanup for DOMTitleChanged listener 2015-03-26 15:44:57 +00:00
gorhill 2504f8ad35 #1013: Firefox support 2015-03-26 09:50:07 -04:00
AlexVallat 766537962c Fix for #1072: Listen to DOMTitleChanged as additional navigation event for Fennec 2015-03-24 07:56:18 +00:00
gorhill 4006b99e69 #1057: cleanup code 2015-03-21 08:22:34 -04:00
gorhill 7e8d2e431b this fixes #1057 2015-03-20 19:17:07 -04:00
Deathamns 0e22af516f Firefox: handle nsIContentPolicy.TYPE_IMAGESET
https://bugzil.la/1055750
2015-03-20 13:52:01 +01:00
Deathamns 51532fc74e Firefox: register unload event sooner 2015-03-18 12:47:07 +01:00
Deathamns 6c0bde394d Firefox: check for non-existent button 2015-03-18 07:17:10 +01:00
AlexVallat 8474f8b5d0 Robustness changes from watching logs in Fennec 2015-03-17 18:09:40 +00:00
Deathamns 58e8b5bf5f Firefox: determine tabIds via <browser> 2015-03-17 07:05:02 +01:00
Deathamns ebf840c35d abp:subscribe fixes
Test a[href^="abp:"], since the protocol probably not used for anything
else, also "a", because ABP checks only anchors, and these links are made
only for ABP.

Also, the event target is not always the link, so at least some parents
should be tested as well.
2015-03-16 10:47:29 +01:00
Raymond Hill 38d308f1f0 Merge pull request #1021 from AlexVallat/master
Fix for #1017 (and #1001)
2015-03-15 13:28:32 -04:00
Deathamns 90295e7bef Firefox: update buttons when addon is enabled 2015-03-15 17:49:36 +01:00