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
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.
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!
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
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.
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
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/
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
Ratings & Comments
12 Comments
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
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.
Ok, i contacted the author(s), thanks a lot for the support :)
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.
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!
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
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.
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
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/
And is this userscript that i try to install: http://userscripts.org/scripts/show/161718
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
KHTML-Userscript doesn't support the @require or other headers or the GM API, so not all userscripts are supported.