KHTML Userscript

Utilities

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

2
Become a Fan
6.5

Available as/for:
Description:
This plugin provides support for "User Scripts" in Konqueror. It is similar to the Greasemonkey plugin for Firefox.

It doesn't support the Greasemonkey API.

Supported Greasemonkey headers:
@name
@version
@namespace
@author
@description
@include
@exclude

**********
It's not maintained anymore. If someone could continue its development would be nice.
**********

Ratings & Comments

12 Comments

dglent

I had one case that konqueror crashs: https://bugs.kde.org/show_bug.cgi?id=319474 Here is the debug: http://glenbox.free.fr/files/konqueror-20130508-070308.kcrash

seba

I'm not the developer of this plugin/extension. You can find the developer's email in the source code, but I don't think you'll get any help.

dglent

Ok, i contacted the author(s), thanks a lot for the support :)

dglent

I made a rpm package for Mageia 2 64bits http://www.mageia-gr.org/rpm/2/x86_64/konqueror-plugin-khtml-userscript-0.1.2-1mgr2.x86_64.rpm However, the rpm installs correctly the paths, i did nt have the above issue.

seba

These are the files installed on Gentoo): /usr/bin/khtml_userscript_installer /usr/lib/kde4/khtml_userscript.so /usr/lib/strigi/strigila_userjs.so /usr/share/doc/khtml-userscript-0.1.2/TODO.bz2 /usr/share/doc/khtml-userscript-0.1.2/AUTHORS.bz2 /usr/share/doc/khtml-userscript-0.1.2/README.bz2 /usr/share/doc/khtml-userscript-0.1.2/INSTALL.bz2 /usr/share/apps/khtml/kpartplugins/khtml_userscript.rc /usr/share/apps/khtml/kpartplugins/khtml_userscript_gm_compat.js /usr/share/apps/khtml/kpartplugins/khtml_userscript.desktop /usr/share/mime/packages/mimetype_userscript.xml /usr/share/applications/kde4/khtml_userscript_installer.desktop I've added the RPM package. Thanks!

dglent

I have KDE 4.8.5 and i tried to installed this plugin but i could nt make it work. I do nt have the right click menu as in the screenshot, i putted a script in the folder .kde4/share/app/konqueror/userscripts/ but it was nt taken in account from konqueror. May be i did something wrong or the plugin is not working any more

seba

This extension if for KHTML only, it doesn't work with WebKit. In Konqueror: Settings-> General->Default Web Browser Engine->KHTML. Open new tab Settings->Configure Extensions and look for Userscript Support. It's working for me with KDE-4.9.0 on Gentoo.

dglent

I use the khtml engine, but where you say: "Open new tab Settings->Configure Extensions and look for Userscript Support. " i don't find this menu. If you mean Setting > Configure plugins: i dont see the userscript description there. There is although the bookmarklets plugin

dglent

Ok i installed it now because of this: [ 0%] Built target khtml_userscript_automoc [ 42%] Built target khtml_userscript [ 42%] Built target userjs_automoc Scanning dependencies of target userjs [ 50%] Building CXX object strigi_analyzer/CMakeFiles/userjs.dir/userjs_automoc.o Linking CXX shared module ../lib/strigila_userjs.so [ 57%] Built target userjs [ 57%] Built target khtml_userscript_installer_automoc [100%] Built target khtml_userscript_installer Install the project... -- Install configuration: "RelWithDebInfo" -- Installing: /usr/lib64/kde4/khtml_userscript.so -- Installing: /usr/share/apps/khtml/kpartplugins/khtml_userscript.rc -- Installing: /usr/share/apps/khtml/kpartplugins/khtml_userscript.desktop -- Installing: /usr/share/apps/khtml/kpartplugins/khtml_userscript_gm_compat.js -- Installing: /usr/share/mime/packages/mimetype_userscript.xml Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles' Unknown media type in type 'uri/mms' Unknown media type in type 'uri/mmst' Unknown media type in type 'uri/mmsu' Unknown media type in type 'uri/pnm' Unknown media type in type 'uri/rtspt' Unknown media type in type 'uri/rtspu' -- Installing: /usr/lib64/strigi/strigila_userjs.so -- Installing: /usr/bin/khtml_userscript_installer -- Installing: /usr/share/applications/kde4/khtml_userscript_installer.desktop i did a link from : /usr/share/applications/kde4/khtml_userscript_installer.desktop to: /usr/share/apps/khtml/kpartplugins/

dglent

And is this userscript that i try to install: http://userscripts.org/scripts/show/161718

dglent

It shows that is enabled but the youtube icon is not changed as it happens with other browsers. So i am not sure if it is taken in account the userscript

seba

KHTML-Userscript doesn't support the @require or other headers or the GM API, so not all userscripts are supported.

Pling
0 Affiliates
Details
license
version 0.1.2
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Utilities from seba:

KViewTube
seba
last update date: 14 years ago

Score 5.3

Other Utilities:

Gis Weather
RingOV
last update date: 8 years ago

Score 8.0

Splash Screen Manager
zorinos
last update date: 14 years ago

Score 7.4

BashStyle-NG
Chrispy
last update date: 10 years ago

Score 6.1

anymeal
wedesoft
last update date: 6 months ago

Score 5.0

MonA3XN 01
A3XN
last update date: 2 years ago

Score 5.0

SuperCalc (By Keshav bhatt)
keshavnrj
last update date: 10 years ago

Score 5.0



System Tags