Jimi Huotari
addbb21c77
Fix build against Qt 5.11
2018-01-26 12:59:03 +01:00
David Rosca
7265c30aa8
Add Downloads, AdBlock and GreaseMonkey buttons to statusbar
2018-01-24 20:37:10 +01:00
David Rosca
a8dcf176cf
Fix merge issues
2018-01-11 20:51:34 +01:00
David Rosca
692d55fff7
AdBlock: Move remaining code to adblock subdir
2018-01-11 20:03:14 +01:00
David Rosca
b291c27d4e
AdBlockDialog: Fix icon path in Options button
2018-01-11 19:54:24 +01:00
David Rosca
c3e4d80010
AdBlock: Load blocked page as data url instead of qupzilla:adblock
...
AdBlock is now completely separate main app code.
2018-01-11 19:52:29 +01:00
David Rosca
f16580dc05
AdBlockPlugin: Change into real internal plugin
2018-01-11 19:51:47 +01:00
David Rosca
238a06874d
AbstractButtonInterface: Allow delayed hide of popup
2018-01-11 19:48:01 +01:00
David Rosca
6806fa5405
AbstractButtonInterface: Use WebView property instead of WebPage
...
WebView of a tab will not change while WebPage may.
This also fixes crash when WebPage of WebView is changed. It can happen
eg. when opening new tab from page with target=_blank.
Closes #2537
2018-01-11 19:42:38 +01:00
David Rosca
7ebd4039f8
AdBlock: Clear blocked requests for url when webpage is deleted
2018-01-11 19:38:37 +01:00
David Rosca
a45dbdc883
AdBlock: Track blocked requests on page
...
AdBlock icon now indicates number of blocked requests in badge text.
2018-01-11 19:38:14 +01:00
David Rosca
ee02d7716a
AdBlockIcon: Remove unused popupBlocked
2018-01-11 19:36:39 +01:00
David Rosca
ff1171abf0
AdBlock: Make it as self-contained as possible
...
It could be easy now to turn it into real loadable plugin.
2018-01-11 19:36:32 +01:00
David Rosca
394221c5c0
AdBlockManager: Disable blocking on view-source scheme
2018-01-11 19:33:51 +01:00
David Rosca
0ff1ebc584
Fix build
2018-01-11 19:33:22 +01:00
David Rosca
3d171275d2
AdBlockIcon: Indicate AdBlock state on current page with icon state
...
Icon is inactive when AdBlock is disabled or can't run on current page.
2018-01-11 19:33:17 +01:00
David Rosca
0cbbd197ca
AdBlockIcon: Move from statusbar to navigationbar as tool button
2018-01-11 19:29:09 +01:00
David Rosca
8c99f22240
AdBlockTreeWidget: Fix restoring item font and color for normal rules
2017-12-03 19:10:56 +01:00
David Rosca
7463c692f7
AdBlockRule: Add support for "font" option
...
Closes #2445
2017-12-03 19:10:50 +01:00
Jacob Tey
11d73bd26a
Fix icon name in SBI images icon + add object name to AdBlockIcon
2017-09-25 19:35:44 +02:00
David Rosca
efff69b7b2
Continue with Falkon renaming
2017-08-25 17:55:52 +02:00
David Rosca
d00e769749
Initial rename to Falkon
2017-08-25 17:32:32 +02:00
David Rosca
f3367e7611
AdBlockRule: Add support for ping, media and other options
...
Also fix object-subrequest matching, it should block requests
from plugins despite its name.
2017-08-12 17:31:11 +02:00
David Rosca
c2c49c6b13
AdBlock: Add support for rules with empty filter (match all)
2017-08-12 16:27:02 +02:00
David Rosca
54a6f65bee
AdBlock: Fix saving subscriptions
...
QSaveFile doesn't support QFile::Truncate mode
2017-07-01 18:50:25 +02:00
David Rosca
c9a52e59c3
Use QSaveFile also in other places
2017-06-08 10:14:19 +02:00
David Rosca
bfef9e2c03
Merge branch 'v2.1'
2017-03-15 10:53:44 +01:00
David Rosca
a4c3e49e3e
AdBlock: Fix warning when creating new profile
2017-03-15 10:35:14 +01:00
David Rosca
8501275ee4
Merge branch 'v2.1'
2017-02-23 20:09:26 +01:00
David Rosca
690eb2c447
AdBlock: Don't remove url interceptor when disabled
...
Instead just return early in block() when AdBlock is disabled
2017-02-23 20:08:59 +01:00
David Rosca
8cbccbf71d
AdBlock: Remove option to use limited EasyList subscription
...
It is no longer need as AdBlock matching runs in separate thread
2017-02-23 19:58:38 +01:00
David Rosca
93b1104611
AdBlock: Guard AdBlockMatcher with mutex
...
Closes #2231
2017-02-23 19:55:04 +01:00
David Rosca
e150e44cc6
Replace Q_OS_MAC with Q_OS_MACOS
2017-02-10 19:00:58 +01:00
David Rosca
bfa5234ea2
Update AdBlock known subscriptions urls
2017-02-06 18:47:02 +01:00
David Rosca
a82a1c396b
AdBlockDialog: Don't force black color to normal rules
...
Makes the dialog more usable with dark color schemes
2017-01-31 21:18:51 +01:00
David Rosca
24b6db866a
AdBlockSearchTree: Slightly more efficient traversal
...
Access hash only once for each char
2017-01-23 10:55:45 +01:00
David Rosca
ea77b02908
AdBlock: Fix rules for disabling blocking on pages
...
Closes #2119
2017-01-20 17:11:04 +01:00
David Rosca
9a356a61d5
Another HighDPI icons fixes
2016-12-29 16:48:09 +01:00
David Rosca
509c913cbe
AdBlock: Apply all css rules in WebPage::cleanBlockedObjects
2016-05-27 15:55:30 +02:00
David Rosca
6eb0693e7d
Remove FollowRedirectReply
...
QNetworkAccessManager now supports redirects, so there is
no need for it anymore.
2016-03-20 19:59:52 +01:00
David Rosca
53bf6662dc
AdBlock: Fix updating rules when adding/removing subscriptions
...
This also fixes crash on first network request after removing subscription
2016-01-02 17:54:36 +01:00
innermous
a9043f0584
Fix adding Adblock list
2015-12-12 22:33:23 +02:00
David Rosca
4a8d8fde59
Fix build with latest Qt 5.6 snapshot
...
Closes #1797
2015-12-09 19:33:54 +01:00
Jonathan Hooverman
bdd9a0cf02
Update adblockaddsubscriptiondialog.cpp
...
Fixes #1785
2015-11-27 12:51:14 +01:00
David Rosca
af93ecf81e
AdBlock: Show error page when the whole page was blocked
2015-10-14 12:41:42 +02:00
David Rosca
258d78a247
AdBlockRule: Fix handling domain and third-party restrictions
...
Domain and third-party restrictions should be applied on page url,
not url of request.
This requires https://codereview.qt-project.org/#/c/127159/
2015-10-09 13:16:24 +02:00
David Rosca
03399c7b2c
Use acceptNavigationRequest to handle abp: urls
...
QtWebEngine now sends external urls through acceptNavigationRequest
so it is no longer needed to install scheme handler.
2015-10-08 22:39:27 +02:00
David Rosca
de0dd7fb2d
Fix build with latest QtWebEngine 5.6
2015-10-08 22:17:21 +02:00
David Rosca
6b02cd4cab
AdBlockRule: Correctly disable third-party option
2015-10-06 10:13:41 +02:00
David Rosca
db058ff194
Remove use of QNetworkRequest in LoadRequest
2015-10-06 09:46:23 +02:00