1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-16 03:52:10 +01:00
Commit Graph

12 Commits

Author SHA1 Message Date
David Rosca
8a6547b39c Use window._qupzilla_external property to check if web channel is connected
Instead of checking for window.external as that is now defined with
at least QtWebEngine 5.10.
2018-01-11 19:15:02 +01:00
David Rosca
7ce93354c8 GreaseMonkey: Add support for GreaseMonkey 4.0 API
Properly implement values functions in 4.0 API version.

Closes #2355
2018-01-11 19:12:53 +01:00
David Rosca
8bc39e9b1c GreaseMonkey: HighDPI fixes 2017-01-21 20:54:11 +01:00
Martii
fc2ae4c4dd Brute crush all pngs
* Making the footprint a little smaller
2016-05-12 12:47:46 -06:00
Philipp Wiesemann
0e47899791 GreaseMonkey: Fix GM_listValues() listing nothing
The function GM_listValues() got broken when the source file "values.js"
was minimized into "values.min.js" because the optimizing tool was not
aware that the string containing the placeholder (%1) is not final and
will be changed later. It optimized away the expression which gets the
length of the string and replaced it with its static value (2). This was
a problem because not the length of the placeholder (%1) but the length
of the current script id is needed to extract prefixes from the keys in
the local storage. Failing to correctly extract the prefixes prevented
finding the entries for the current script. This was fixed by comparing
prefixes without extracting new strings. It works around the need to get
the length of the id string and therefore the breaking optimization.

An unrelated and redundant variable declaration was also removed.
2015-10-23 22:45:21 +02:00
David Rosca
038e4f5014 GreaseMonkey: Implement GM_ functions for userscripts 2015-05-25 11:47:32 +02:00
David Rosca
cf43bc3269 GreaseMonkey: Add GM_setClipboard function available to scripts
Also update GM_openInTab to return created window object
2014-09-16 20:30:04 +02:00
nowrep
58c0c77479 [GreaseMonkey, AdBlock] Use 16x16 icons in statusbar 2013-06-03 15:50:57 +02:00
nowrep
7b736ed9df [GreaseMonkey] Added icon to statusbar.
Closes #741
2013-06-02 19:09:41 +02:00
Mladen Pejaković
39e6e1a0f1 Optimization of png icons for plugins 2013-05-04 23:21:38 +02:00
nowrep
51f0232ca3 [GreaseMonkey] Added support for GM_Settings functions.
Closes #814
2013-04-02 11:21:12 +02:00
nowrep
014fa12159 Added GreaseMonkey + PIM plugins 2012-07-11 18:30:00 +02:00