Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clean up previous commit about adblock and fix enable/disable feature | Andrea Diamantini | 2012-12-10 | 1 | -45/+8 |
| | |||||
* | adblock work | Andrea Diamantini | 2012-12-10 | 1 | -24/+40 |
| | | | | | | | | readded an icon in the urlbar when adblock is active, BUT with different features: you can now disable adblock "per-site", in a similar way chromium does. cleaned up adblock manager code, removing some old no more used code fragments | ||||
* | Restored Adblock moving hiding logic to the one used in kwebkitpart | Andrea Diamantini | 2012-12-10 | 1 | -0/+403 |
| | | | | | This will let everyone to save time reinventing the wheel and let us remove webpage from adblockmanager code, but just manage it via (Q)NAM. | ||||
* | WARNING COMMIT --> FIRST REKONQ 2 IMPORT | Andrea Diamantini | 2012-12-10 | 1 | -450/+0 |
| | | | | Preparing repo to merge rekonq2 code... | ||||
* | Faster html elements check and better address resolution | Andrea Diamantini | 2012-10-14 | 1 | -3/+2 |
| | | | | | | | | | This "should" fix some strange adblock behaviour on image hiding. Needs testing Patch courtesy by "vic". Thanks :) PS: will be applied to rekonq2, too. BUG:305861 | ||||
* | Fix adblock hide behavior | Andrea Diamantini | 2012-07-06 | 1 | -1/+7 |
| | | | | | | | NOTE: You'll find also some style & copyrights fixes here. Just reenable the git hooks scripts... BUG: 302050 | ||||
* | Cleans up | Andrea Diamantini | 2012-06-12 | 1 | -1/+0 |
| | | | | | | - set initial icon to have properly dimensions set - properly calculate needed icon's height - calm down some kDebug messages | ||||
* | Kitchen sink clean up | Andrea Diamantini | 2012-05-27 | 1 | -5/+5 |
| | | | | | | - astyle - copyrights - (some) includes | ||||
* | Clean up headers && fix compilation with (the upcoming) qt 4.8.2 | Andrea Diamantini | 2012-04-20 | 1 | -0/+2 |
| | |||||
* | Let user change his mind enabling block/unblock | Andrea Diamantini | 2012-03-13 | 1 | -0/+5 |
| | |||||
* | Clean up adblock manager code and fix unblock feature | Andrea Diamantini | 2012-03-13 | 1 | -43/+52 |
| | |||||
* | check/update/load subscriptions well :) | Andrea Diamantini | 2012-03-13 | 1 | -35/+52 |
| | |||||
* | Add dialog allowing adblock to list blocked/hided elements and unblock | Andrea Diamantini | 2012-03-13 | 1 | -4/+39 |
| | | | | some of them | ||||
* | Let rekonq block sparse images (this idea has been copied from Arora) | Andrea Diamantini | 2012-03-13 | 1 | -0/+29 |
| | |||||
* | Add adblock icon to inform users that some contents was hidden | Andrea Diamantini | 2012-03-13 | 1 | -0/+6 |
| | | | | | | | | This is a patch by Andrea Di Menna, changed a bit to allow element blocked/hided listing (you'll see it in next commit) REVIEW:102761 REVIEWED-BY: adjam | ||||
* | Update adblock dialog | Andrea Diamantini | 2012-03-13 | 1 | -1/+6 |
| | |||||
* | Move adblock manager to use multiple text files for rules and | Andrea Diamantini | 2012-03-13 | 1 | -94/+70 |
| | | | | | | separate adblock settings from rekonq ones. We now have 60 adblock rules list sites stored to be enabled "on click" | ||||
* | Remove ability to manage abp schemes and add subscriptions on click | Andrea Diamantini | 2012-03-13 | 1 | -20/+2 |
| | |||||
* | Krazy fixes | Andrea Diamantini | 2012-02-16 | 1 | -1/+1 |
| | | | | | - doublequote_chars - normalize | ||||
* | Consider option && ~option as null rules when option is not implemented | Andrea Diamantini | 2012-02-10 | 1 | -1/+1 |
| | | | | BUG: 246801 | ||||
* | Krazy fixes | Andrea Diamantini | 2012-01-19 | 1 | -1/+1 |
| | | | | | | | - QL1S/QL1C - single-char QString efficiency - explicit ctors - normalized signals & slots | ||||
* | Unifies macro style | Johannes Troscher | 2011-11-27 | 1 | -9/+9 |
| | | | | | REVIEW: 103242 REVIEWED-BY: adjam | ||||
* | Calm down kDebug messages | Andrea Diamantini | 2011-10-11 | 1 | -9/+4 |
| | |||||
* | Get sure page is extant before searching for DOM elements there | Andrea Diamantini | 2011-09-16 | 1 | -0/+4 |
| | | | | BUG: 282012 | ||||
* | Fix saving in adblock management | Andrea Diamantini | 2011-08-19 | 1 | -2/+4 |
| | | | | | | | | | This original patch from fritz_van_tom has been modified by me to fix a couple of "obsoleted" things not removed in the previous changes. My fault for them (and for the need of this patch), sorry. REVIEW: 102362 | ||||
* | Tools Action Menu | Andrea Diamantini | 2011-08-04 | 1 | -0/+15 |
| | | | | | | | | | | | - Removed showDeveloperTools action - Moved adblock GUI to adblock part - renamed toolsMenu and developerMenu to reflect their real/new roles - Added UserAgent action to the tools menu REVIEW:102170 REVIEWED-BY: fritz_van_tom | ||||
* | clean up | Andrea Diamantini | 2011-07-25 | 1 | -27/+27 |
| | | | | | | - QL1S - one stupid kDebug less - codingstyle | ||||
* | Calm down kDebug messages | Andrea Diamantini | 2011-07-19 | 1 | -2/+0 |
| | |||||
* | A round of the "new" astyle 2.01... | Andrea Diamantini | 2011-07-17 | 1 | -38/+38 |
| | |||||
* | Coding style | Andrea Diamantini | 2011-02-25 | 1 | -4/+6 |
| | |||||
* | Finally found time to update copyrights... ;) | Andrea Diamantini | 2011-02-24 | 1 | -1/+1 |
| | |||||
* | AdBlock: adding a Null Rule to match all the unimplemented filters. | Andrea Diamantini | 2011-02-24 | 1 | -0/+2 |
| | | | | | | BUG:248045 BUG:253329 BUG:265909 | ||||
* | Calm down kDebug messages | Andrea Diamantini | 2011-02-16 | 1 | -1/+0 |
| | |||||
* | This should improve adblock retrieving by NOT asking for SSL confirmations | Andrea Diamantini | 2010-09-01 | 1 | -0/+6 |
| | |||||
* | Add support for domain option in the ad block module | Benjamin Poulain | 2010-08-22 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | Some ads were not filtered because they were incorrectly matched by the whitelist. This is because we ignore options, including the domain restrictions. For example, the white filter: @@||pagead2.googlesyndication.com/pagead/show_ads.js$domain=kde.org would match any page regardless of the domain restriction. So no ads from pagead2.googlesyndication.com were filtered. This patch adds support for "domain" options in the fallback rules (the other AdBlockRuleImpl rejects options). The domain of the frame making the request is now compared to the option to take the right decision. This patch requires Qt 4.7 with a recent QtWebKit 2.0. | ||||
* | Skip the hiding rules specific to domains | Benjamin Poulain | 2010-08-19 | 1 | -0/+4 |
| | | | | | | | The rules to hide elements for a specific domains were interpreted as regular RegExp rules, which grows the list of filter to test. Those rules are not working with the current implementation, we should just skip them for efficiency. | ||||
* | Add a special matcher for ad block filters for host name | Benjamin Poulain | 2010-08-19 | 1 | -1/+23 |
| | | | | | | | | | | Quite a few rules of ad block are just matching domains. Those are of the form: ||trolltech.com^$options This patch add a new class to deal with this kind of filter, AdBlockHostMatcher. Matching a host address is much faster (O(1)) than going through the entire list of rules. | ||||
* | Improve the performance of AdBlockRuleTextMatchImpl | Benjamin Poulain | 2010-08-19 | 1 | -3/+7 |
| | | | | | | | | | | Comparing unicode string without case sensitive is rather expensive because each codepoint must be converted, which is non trivial for unicode. This patch introduce a new argument of ::match() taking the encoded url in lowercase. This way, the conversion can be done only once for a lot of rules. | ||||
* | Remove the method pattern() from AdBlockRule | Benjamin Poulain | 2010-08-18 | 1 | -2/+0 |
| | | | | | The method pattern imply the rule is implemented with a regexp, which is what we should try to avoid in the future for performance reasons. | ||||
* | Cleaning some kDebug calls | Andrea Diamantini | 2010-05-22 | 1 | -3/+2 |
| | |||||
* | Move adblock rules conf file to appdata, to maintain central config file tiny | Andrea Diamantini | 2010-05-14 | 1 | -4/+4 |
| | |||||
* | AdBlock clean up, step 1 | Andrea Diamantini | 2010-05-14 | 1 | -0/+3 |
| | |||||
* | QLatin1String -> QL1S | Andrea Diamantini | 2010-04-30 | 1 | -7/+7 |
| | | | | added cppcheck script | ||||
* | Krazy fixes | Andrea Diamantini | 2010-04-30 | 1 | -1/+1 |
| | |||||
* | cleaning headers | Andrea Diamantini | 2010-04-30 | 1 | -1/+0 |
| | |||||
* | A coding style round | Andrea Diamantini | 2010-04-30 | 1 | -75/+75 |
| | |||||
* | Auto Scrolling, first bunch. | Andrea Diamantini | 2010-03-31 | 1 | -15/+0 |
| | | | | key combinations just work :) | ||||
* | This is just a stupid idea, but it seems working well.. :) | Andrea Diamantini | 2010-03-31 | 1 | -1/+2 |
| | | | | | | The idea basically is: hide and set dimensione to ZERO to adblocked elements. This seems cleaning page WARNING: NEED TESTS!!! | ||||
* | Not so stupid, after all.. | Andrea Diamantini | 2010-03-30 | 1 | -6/+38 |
| | |||||
* | Cleaning AdblockManager::loadRules slot | Andrea Diamantini | 2010-03-24 | 1 | -21/+30 |
| |