KHTML Userscript

Utilities

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

1
Score 67.1%
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.
**********

dglent

6 years ago

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

Report

C

seba

6 years ago

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.

Report

dglent

6 years ago

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

Report

dglent

6 years ago

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.

Report

C

seba

6 years ago

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!

Report

dglent

6 years ago

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

Report

C

seba

6 years ago

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.

Report

dglent

6 years ago

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

Report

dglent

6 years ago

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

Report

C

seba

6 years ago

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

Report

dglent

6 years ago

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

Report

dglent

6 years ago

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/

Report

12345678910
3
product-maker dglent May 07 2013 9 excellent
product-maker kerenskyy Jun 26 2012 9 excellent
product-maker mityukov Apr 26 2011 9 excellent
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
Details
license
version
0.1.2
updated Sep 20 2011
added Apr 08 2011
downloads 24h
0
page views 24h 4
System Tags app software