
Konqueror Userscript
Various KDE 1.-4. Improvements
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
No update just uploading the 0.1.1 (kde3) to new file sharing provider (box.net)
So far, the only feature available is autoexecuting every file under ~/.kde/share/apps/konqueror/userscripts as js, within current document context.
TODO:
- enable disable userscript.
- include default script to emulate GMxx function or make it builtin
Screenshot #1
Shows an effect of the following code:
var elms = document.getElementsByTagName("a");
//alert(elms.length);
for(var i=0;i<elms.length;i++) {
elms.style.color="red";
elms.style.border="1px solid";
}
Screenshot #2
Shows textarea_drag_resize.js which originally a greasemonkey script (http://userscripts.org/scripts/show/5073). With a lil bit of modification, it's working in Konqueror (by defining some GMxxx function). The resize icon doesn't show up though. I don't know how to translate res://xx/xxx into a working konqueror format.
Konqueror version of textarea_drag_resize.js can be found here:
http://gudangupload.com/filelink.php?filecode=1dd91f4aa704ccfaaeb7db3b30fcc4af86c06efbb13ea873b8bf3cd23a51a9d1
Screenshot #3
Shows Greasemonkey Userscript metadata support
14 years ago
v0.1.1
- Supports userscript metadata (//== UserScript== tag). include/exclude works (I assume greasemonkey using wildcard matching)
v0.1
- initial PoC version
14 years ago
v0.1.1
- Supports userscript metadata (//== UserScript== tag). include/exclude works (I assume greasemonkey using wildcard matching)
v0.1
- initial PoC version
soulrebel
12 years ago
Is there still being work done on this project?
How can I download it? The Link wont work for me...
Thanks!
Report
kerenskyy
8 years ago
Report
Kiblet
13 years ago
Konqueror immediately crashes after I install this, and try to open Konqueror, though. Please help me if you can--I really need another browser that works! I wish I could know whether it is Konqueror, QT or something else. If a backtrace would help, here it is:
System configuration startup check disabled.
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1230854448 (LWP 27901)]
[KCrash handler]
#9 0xb78500b5 in QGListIterator::QGListIterator ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0xb5b0c97a in Pluginkonqtest::slotAction ()
from /opt/kde3/lib/kde3/libkonqtestplugin.so
#11 0xb5b0ce82 in Pluginkonqtest::qt_invoke ()
from /opt/kde3/lib/kde3/libkonqtestplugin.so
#12 0xb7596b11 in QObject::activate_signal ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0xb75977ed in QObject::activate_signal ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0xb7fae58c in KParts::ReadOnlyPart::completed ()
from /opt/kde3/lib/libkparts.so.2
#15 0xb5f2b3ab in KHTMLView::timerEvent () from /opt/kde3/lib/libkhtml.so.4
#16 0xb7596562 in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0xb75cf19c in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0xb7537657 in QApplication::internalNotify ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0xb7538449 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0xb7b9db92 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#21 0xb752c863 in QEventLoop::activateTimers ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0xb74e64f0 in QEventLoop::processEvents ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0xb754e480 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0xb754e316 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0xb753720f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0xb67a4665 in kdemain () from /opt/kde3/lib/libkdeinit_konqueror.so
#27 0xb730e524 in kdeinitmain () from /opt/kde3/lib/kde3/konqueror.so
#28 0x0804e2ff in launch ()
#29 0x0804eb8a in handle_launcher_request ()
#30 0x0804ef0f in handle_requests ()
#31 0x08050103 in main ()
Report
Kiblet
13 years ago
Most of my .js scripts give "Darn" errors, though.
Report
gentakojima
13 years ago
Then, it installed under following locations:
/usr/local/kde/lib/kde3/
/usr/local/kde/share/apps/khtml/kpartplugins/
I had to copy the .rc and .la files to other locations so konqueror recognised them:
/usr/lib/kde3/
/usr/share/apps/khtml/kpartplugins/
I suppose these would be fine too:
/usr/local/lib/kde3/
/usr/local/share/apps/khtml/kpartplugins/
But when I start konqueror it inmediately crashes, without an useful output.
Perhaps something relating to paths?
Btw, great work. Most konqueror users would love such an extension.
Report
neofreko
13 years ago
I slightly remember the first PoC kinda have a bug related to that directory
Report
milianw
13 years ago
crash log here: http://attachr.com/7552
Report
egonw
13 years ago
1.http://kemistry-desktop.blogspot.com/2007/03/chemical-kde-gsoc-projec-ideas.html
2.http://techbase.kde.org/Projects/Summer_of_Code/2007/Ideas#Konqueror_-_userscripts
Report
neofreko
13 years ago
Report
neofreko
13 years ago
Is there any some notification message somewhere for "my kde-apps comments"?
Report
elijahlofgren
13 years ago
Report
dtlin
14 years ago
src="data:image/gif;base64,R0lGODlhDAAMAPcAAAAAAHNzc4yMjK2trf///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////ywAAAAADAAMAAAIPwAJCBxIsKDAAAEMDhQAAIAAhQIHDFD4kIBEgRUJBAAgEaFEAAk1chzgcQDIhREnEshI8CJEhg4hagwp02BAAAA7"
Report
jackiebrown
14 years ago
If you meant to cross compile, use `--host'.], [`""])': Invalid range end
/usr/bin/m4:configure.in:61: bad regular expression: `AS_ESCAPE([$as_me: error: cannot run _AC_LANG compiled programs.
If you meant to cross compile, use `--host'.], [`""])': Invalid range end
configure.in:39: error: possibly undefined macro: AM_INIT_AUTOMAKE
Report
jackiebrown
14 years ago
./configure: line 1271: syntax error near unexpected token `konqtest,'
./configure: line 1271: `AM_INIT_AUTOMAKE(konqtest, 0.1)
Report
mirshafie
14 years ago
Report
neofreko
14 years ago
Report
Kwilliam
14 years ago
(Greasemonkey scripts for Konqueror is a sweet idea.)
Report
neofreko
14 years ago
Win deco? It's actually fluxbox desktop (I forgot what theme it was) :D
Report
DanaKil
14 years ago
Well, the problem comes maybe from me... but anyway, it seems to be a GREAT plugins :)
Thanks
Report
DanaKil
14 years ago
Thank you very much :)
Report
bobuse
14 years ago
Thanks
Report