KGet integration for Mozilla and Firefox

Various Stuff

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

0
Score 50.0%
Description:

"KGet integration for Mozilla and Firefox" allows you to download your files using KGet from inside Mozilla and/or Firefox. It consists of a shell-script that detects if you're using Mozilla or Firefox and patches your installation. No recompiling is necessary.

It has been tested with Mozilla 1.7.2 and Firefox 0.9.3. Other versions of Mozilla should work but are untested. Firefox versions older than 0.9 won't probably work, but newer ones should.


---------------
HOW TO INSTALL
---------------

- Download the shell-script (7Kb)
- Open Konqueror and browse to the directory where you have downloaded it
- Right-click the file and select "Properties"
- In the opened window, click the "Permissions" tab and activate the "is runnable" checkbox, then click OK.
- Press F4 or click Tools - Open terminal
- Type:
./kget4mozilla-0.2.sh /directory/where/you/installed/mozilla

- If you don't have write permissions, the script will automatically prompt you to enter the root password.

- If you're using Mozilla, open it and click Edit - Preferences. Then select Navigator - Downloads. In the right panel, make sure you choose "Open the download manager". In Firefox there isn't a similar option so you will always use KGet and there's no way to disable it.


---------------
HOW TO USE
---------------

- When you right-click a link and select "Save link target as..." or shift+click it, KGet will open asking you to choose the place where you want to save the file.
- You may use Tools - Download Manager ("Downloads" in Firefox) to open KGet and/or focus on it.


---------------
TO DO
---------------

- When you click a link and the application chooser opens, you can't save the file with KGet yet. This seems hard to implement without breaking something, but I'll try to do it.
Last changelog:

15 years ago

0.2: Added support for Firefox.
0.1: First release

elinawilliams

1 year ago

you can use KGETwith Mozilla or Firefox. You can also you plugger to handle specific MIME types with KGET. Visit https://www.browsertechnicalsupportnumbers.com/mozilla-firefox-support/

Report

amar611

13 years ago

when I run the script. following is the output. I am running suse 10. Please help

linux:~ # cp /home/amar/Desktop/kget4mozilla-0.2.sh /usr/lib/firefox/
linux:~ # cd /usr/lib/firefox/
linux:/usr/lib/firefox # ls
. chrome firefox-bin kget4mozilla-0.2.sh libsmime3.so libxpcom.so mozilla-xremote-client searchplugins
.. components firefox.sh libmozjs.so libsoftokn3.chk libxpcom_compat.so plugins updater
add-plugins.sh defaults greprefs libnss3.so libsoftokn3.so libxpcom_core.so res updater.ini
browserconfig.properties extensions icons libnssckbi.so libssl3.so libxpistub.so run-mozilla.sh xpicleanup
linux:/usr/lib/firefox # ./kget4mozilla-0.2.sh .
KGet integration for Mozilla and Firefox 0.2, by Victor Fernandez
Mozillux project - http://www.polinux.upv.es/mozilla

Restoring the backup of ./chrome/browser.jar (backup file retained)
Extracting into /tmp/kget4mozilla-0.2
Patching content/browser/contentAreaUtils.js
cat: /tmp/kget4mozilla-0.2/content/browser/contentAreaUtils.js: No such file or directory
grep: /tmp/kget4mozilla-0.2/content/browser/contentAreaUtils.js: No such file or directory
head: /tmp/kget4mozilla-0.2/content/browser/contentAreaUtils.js: invalid number of lines
expr: non-numeric argument
tail: /tmp/kget4mozilla-0.2/content/browser/contentAreaUtils.js: invalid number of lines
Patching content/browser/browser.js
Repackaging ./chrome/browser.jar
zip I/O error: No such file or directory

zip error: Could not create output file (./chrome/browser.jar)
/usr/lib/firefox
Deleting temporary files in /tmp/kget4mozilla-0.2
Done

Don't forget to visit the Mozillux website. Enjoy!

Report

hansschmucker

15 years ago

You can also you plugger ( http://fredrik.hubbe.net/plugger.html ) to handle specific MIME types with KGET... For example to have kget handle ZIP files, just add

application/zip:zip:Zip Binary Package
swallow(KGet) fill: kget "$url"

to your pluggerrc file. However, there's one sideeffect... because kget usually runs all the time, plugger can't swallow the main window... it will instead swallow the KGet "Save as" dialog and display it as if it was the ZIP file. That'S fine with me, but I guess I should warn you

Report

john007

15 years ago

... you can do the following, without patching firefox:
- klick on a download link
- choose "open with"
- select "/path/to/kget"
- tick "always open with this application"

Report

isma

15 years ago

Well, I tried that method you suggest (open with... /path/to/kget) some time ago and the only result was that KGet tried to open the file AFTER Mozilla DownloadManager had downloaded it yet in its own way.

To the author: Really thanx for this extension, I hated Mozilla dropping out my downloads after thousands of kbytes had yet crossed through my slow modem. This marks a new era in my internet download expierence. Greets

Report

bisley

15 years ago

hmm, its already exists an extension for Mozilla/Firefox like this.
downloadwith but last version its a little old and i dont think that will be compatible with firefox 0.9x...
Ill try your script for my firefox, thx.
One question, its compatible with firefox 1.0pr?

Report

C

djworld

15 years ago

DownloadWith is similar, but it's not as transparent as this one. You have to right-click and select "DownloadWith - kget http://foo". With this patch you can use "Save link target as", like you would normally do, and I want to make it work with normal links too. I haven't tested it with Firefox 1.0 PR, but it should work. If it didn't work, tell me and I'll try to see how to make it work and also tell you how to restore your Firefox installation.

Report

ra1n

15 years ago

What is really needed is a good IPC if mozilla supported DCOP this won't have been necessary, a strong standard IPC protocol is needed

Report

C

djworld

15 years ago

What is IPC? I like the idea of making Mozilla/Firefox/Thunderbird (MFT) support dcop, but it would be hard to implement and I need help. It would probably require modifying the binary code and then you'd need to recompile MFT. I'll have to do it sooner or later; I think it's the best way to implement the KDE open/save dialogs. I'd also like to make MFT use the standard KDE dialog to choose the application you want to open a file with and perhaps read the KDE file associations (right now it uses the Gnome ones). The problem is right now I haven't received help from anyone (apart of bug reports). I need help to modify the "Makefiles" and "configures" to link Mozilla with the KDE libraries so we can call them from inside Mozilla. Also, I'm not very skilled in programming for KDE. I could learn because I already made a small program, but help would be MUCH appreciated.

Porting Firefox to KDE/Qt would be very hard, but with help we could make Firefox work like if it were a native KDE application. That's the purpose of Mozillux, but I can't do it alone.

Report

ra1n

15 years ago

IPC stands for InterProcess Communication, and DCOP it's an IPC implementation (gnome uses corba) I don't think to port mozilla to KDE/Qt, it's a waste of time, but I want to use it as default browser, to open an external link from thunderbird or kmail into firefox, something that in windows is possible, but not under any DE in linux

Report

carlosd

15 years ago

kcontrol
kdecomponents
component chooser
open http and https urls:
in the following browser

Report

Yaba

15 years ago

Would it also be possible to create an integration for Thunderbird? These stupid GTK file dialogs always annoy me, when I have to use them.

Report

C

djworld

15 years ago

Yes, but take in mind this doesn't replace the GTK open/save dialogs. The KDE open/save dialog you see in the screenshot belongs to KGet, not to Mozilla. I want to replace them but right now I haven't found a good way to do it, although I'm trying. You may take a look at this:

http://www.kde-look.org/content/show.php?content=13967

It doesn't work very well, but perhaps you find it useful. The main problem is Mozilla/Firefox/Thunderbird (whatever you use) freeze while the open/save dialog is opened. Anyway, I'll continue trying to improve it.

Report

l1nx

15 years ago

cool, only i'll wait for you to update the script so it can be used with firefox to :)...ma comp. is a bit slow and firefox forks much faster than mozilla!

[rip]

Report

xvicx

15 years ago

this is realy cool!
now i can have the power of kget in mozilla... keep up this great script.

nice work!

Report

15 years ago

0.2: Added support for Firefox.
0.1: First release

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.2
updated Sep 07 2004
added Sep 06 2004
downloads 24h
1
mediaviews 24h 0
pageviews 24h 12