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

30 Commits

Author SHA1 Message Date
trnkava1
b0b2820180 Greasemonkey: add script updating
- Fixed parsing @updateURL/@downloadURL
- Updating is only manual
- User have to click on update button located in Greasemonkey settings
- Update works just like download
- New version is not being checked, original script is replaced
- Fixed coding style issues

Closes #1653
2016-03-20 19:05:26 +01:00
David Rosca
d0f662d599 GreaseMonkey: Use url interceptor for downloading scripts 2015-10-08 23:32:18 +02:00
David Rosca
a745e4776f Fix build with Qt 5.5rc 2015-06-24 10:46:57 +02:00
David Rosca
9c7bfb1c94 GreaseMonkey: Fix removing/updating userscripts 2015-05-27 19:48:40 +02:00
David Rosca
038e4f5014 GreaseMonkey: Implement GM_ functions for userscripts 2015-05-25 11:47:32 +02:00
David Rosca
f95d46953f GreaseMonkey: Disable building JSObject 2015-05-25 10:46:30 +02:00
David Rosca
e825f0268b Bring back GreaseMonkey
Everything seems to work just fine. The only thing that doesn't
work now are GM_setValue and GM_getValue functions.
2015-05-24 23:16:01 +02:00
S. Razi Alavizadeh
94afd29d67 Windows,Qt5: Fixed compile issue.
- It fixes: error: C2308: concatenating mismatched strings Concatenating wide
- See: http://blog.qt.digia.com/blog/2014/06/13/qt-weekly-13-qstringliteral/
2014-12-24 23:38:38 +03:30
David Rosca
dc29f6bde5 QzTools: Add function to obtain url of QWebFrame
QWebFrame::url() may be empty, and in that case QWebFrame::baseUrl()
should be used

The issue with empty frame url caused AutoFill to not complete
such frames.

Closes #1465
2014-09-29 16:14:49 +02:00
David Rosca
795bb04acc GreaseMonkey: Fix scripts sometimes not running in frames
Check for document.readyState and if it is "complete", run
the script immediately instead of adding event listener for
DOMContentLoaded that already fired
2014-09-17 09:14:04 +02:00
David Rosca
f86d1b8f2d GreaseMonkey: Run scripts on DOMContentLoaded event capture
Fixes second part of  #1457 (not working on settings, identities, ..
pages)
2014-09-16 17:18:13 +02:00
David Rosca
171267cfb0 GreaseMonkey: Correctly run scripts in frames
Closes #1457
2014-09-16 16:58:36 +02:00
David Rosca
464f05962e Plugins: Use settings path without trailing slash 2014-09-16 15:20:09 +02:00
nowrep
b73751f497 [GreaseMonkey] Cleanup of GM_Downloader code 2014-03-31 12:37:24 +02:00
nowrep
404fa68a1b [Cleanup] Renamed QupZilla class to BrowserWindow 2014-02-19 22:07:21 +01:00
Jonathan Hooverman
d917f43cf0 Updated copyright year to 2014 2014-01-11 16:11:42 +01:00
nowrep
da15e5868d [CodingStyle] Don't use references when assigning to local variable
Let the compiler do the optimization
2013-12-30 13:43:48 +01:00
nowrep
567d6c74f4 GreaseMonkey: Run usercscripts in all frames on page 2013-07-29 17:55:35 +02:00
nowrep
58c0c77479 [GreaseMonkey, AdBlock] Use 16x16 icons in statusbar 2013-06-03 15:50:57 +02:00
nowrep
48528b36bf [GreaseMonkey] Correctly remove icons from statusbar on unload. 2013-06-03 15:42:14 +02:00
nowrep
7b736ed9df [GreaseMonkey] Added icon to statusbar.
Closes #741
2013-06-02 19:09:41 +02:00
nowrep
2e853beef4 [GreaseMonkey] Fixed loading invalid script when script file is deleted
Also fixed copyright in gm_jsobect.{cpp,h}
2013-04-02 12:00:27 +02:00
nowrep
51f0232ca3 [GreaseMonkey] Added support for GM_Settings functions.
Closes #814
2013-04-02 11:21:12 +02:00
nowrep
5f5cf7417d [Code] Updated coding style with patched Astyle + normalized signals.
Code was formatted with patched astyle that correctly formats
foreach macro.
Normalize tool is now used to normalize all signal/slots signatures
to normalized format. It saves few reallocations on connections.
2013-03-06 09:08:29 +01:00
nowrep
304f1704d2 GreaseMonkey: Don't load invalid scripts. 2013-02-24 10:48:23 +01:00
nowrep
949bfe42ed GreaseMonkey: Reload scripts on when source file changes.
Closes #729
2013-01-30 14:12:09 +01:00
nowrep
e28f9d438e [Code] qz_ prefixed functions moved to QzTools namespace. 2013-01-22 19:04:22 +01:00
nowrep
92b18f5466 Plugins: Fixed crash when unloading with settings dialog opened.
- also it is now possible to open only one settings dialog at time
2012-09-11 11:31:28 +02:00
nowrep
1afc663e91 GreaseMonkey: Use QLatin1String and QLatin1Char in script parsing 2012-09-04 11:29:47 +02:00
nowrep
014fa12159 Added GreaseMonkey + PIM plugins 2012-07-11 18:30:00 +02:00