Quote
MarkFalk
I have the same problem, but in file handling by type there is no entry for .PDF. There are FDF, XDP and XFDF but no PDF. I also do not see a way of adding a new entry. So I msut ask for help.
Quote
guenter
There is not way to add a new entry. The menu is just a choice menu and no mimeTypes editor that can edit the file that governs MIMEtype selection. That editor was last added in K-Meleon 1.5.4. Sorry.
Quote
But F2 -> Dateibehandlung -> Nach Typ -> 2. von Oben. PDF Dokument. Öffnen mit...
contains pdf.
Quote
Are You sure that You have a have a PDF Reader installed?
Quote
I for example have E:\Programme\Nitro\Reader 3\npnitromozilla.dll
That is a Mozilla browser plugin that ships with Nitro PDF reader.
Else place the plugin into ./K-Meleon/browser/plugins/ that forces K-Meleon to use this plugin. The plugins always start with "np".
Quote
In that case set Nach Typ -> to Windows default application.
In some cases a wrong setting in the selection menu or in the windows registry can prevent that the chosen program starts its service. In that case a new install of the reader or another normally fixes the problem.
Quote
siria
Adobe Reader does have it in its own settings! A checkmark field to open pdf links either indirectly in the browser or directly in Adobe Reader. Switching this directly in the Adobe settings finally helped to stop IE from opening pdf's in an own browser window
Quote
MarkFalk
Quote
guenter
There is not way to add a new entry. The menu is just a choice menu and no mimeTypes editor that can edit the file that governs MIMEtype selection. That editor was last added in K-Meleon 1.5.4. Sorry.
When updating Version 1.54 was deleted. :-(
Quote
But F2 -> Dateibehandlung -> Nach Typ -> 2. von Oben. PDF Dokument. Öffnen mit...
contains pdf.
??? When clicking on "Nach Typ" there is at first left a Box for "Suche:" and right in grey "Löschen".
Below a large box with scrollbar right where the filetypes are listed.
The second entry from top is "3G2" (two times) or "3GP" (two times), depending on the listing order.
There is no PDF listet, no PDF-entry.
Quote
Are You sure that You have a have a PDF Reader installed?
I have several .PDF-viewer installed, default is Acrobat Reader.
Quote
I for example have E:\Programme\Nitro\Reader 3\npnitromozilla.dll
That is a Mozilla browser plugin that ships with Nitro PDF reader.
Else place the plugin into ./K-Meleon/browser/plugins/ that forces K-Meleon to use this plugin. The plugins always start with "np".
I have also installed Nitro. There was the file npnitromozilla.dll. I have copied it into the plugins-directory of K-Melon and started K-Meleon again. But it still does not disply pdf-files.
Quote
In that case set Nach Typ -> to Windows default application.
In some cases a wrong setting in the selection menu or in the windows registry can prevent that the chosen program starts its service. In that case a new install of the reader or another normally fixes the problem.
This is not the problem here. When clicking in the explorer to a pdf-document. the Acrobat Reader starts. And the other browsers - Chrome, IE - also can display .pdf-files.
Quote
guenter
Go to about:addons and look whether You have a real mimetypes editor.
Fichier introuvable Impossible de trouver le fichier chrome://rvjmimeedit/content/mimeType.html. Vérifiez son emplacement et essayez à nouveau.
Could not read chrome manifest 'file:///E:/Program%20Files/K-Meleon74(clean)/browser/chrome.manifest'. ---------- While creating services from category 'profile-after-change', could not create service for entry 'Disk Space Watcher Service', contract ID '@mozilla.org/toolkit/disk-space-watcher;1'
pref("kmeleon.plugins.macros.modules.mtypes.load", false); pref("kmeleon.install_firefox_extension", true); pref("extensions.pendingOperations", false); pref("extensions.shownSelectionUI", true); pref("extensions.ui.dictionary.hidden", true); pref("extensions.ui.lastCategory", "addons://list/extension"); pref("extensions.ui.locale.hidden", true);
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage) # ---------- rvjmimeedit Extension (MIME Type Editor) --------------------------------------------------- # # Dependencies : main.kmm (OpenURL) # Resources : - # Preferences : - # # Warning : to use it, don't forget to uncheck mtypes.kmm in preferences # ------------------------------------------------------------------------------------------------------------------ mtypes{ macroinfo=_("Change file type settings"); $OpenURL="about:addons"; &OpenURL_InNewWindow; # In case you have a modified version of main.kmm which allows to open About items in new tab instead # of new window. Just comment the two previous line, and uncomment the four next lines #macroinfo=_("Edit mimetypes"); #$OpenURL="about:addons"; #getpref(BOOL,"extensions.rvjmimeedit.openinwindow")==true ? $ExecMacros="OpenURL_InNewWindow":$ExecMacros="OpenURL_InNew"; #&ExecMacros_Frames; } mimetypes{ macroinfo=_("MimeTypes information"); $OpenURL="file:///".getfolder(RootFolder)."/browser/extensions/{fb4eaeed-d1c9-45d1-a2bb-f2876142daf0}/mimetype.html"; &OpenURL_InNewWindow; # In case you have a modified version of main.kmm which allows to open About items in new tab instead # of new window. Just comment the two previous line, and uncomment the four next lines #macroinfo=_("MimeTypes information"); #$OpenURL="file:///".getfolder(RootFolder)."/browser/extensions/{fb4eaeed-d1c9-45d1-a2bb-f2876142daf0}/mimetype.html"; #getpref(BOOL,"extensions.rvjmimeedit.openinwindow")==true ? $ExecMacros="OpenURL_InNewWindow":$ExecMacros="OpenURL_InNew"; #&ExecMacros_Frames; } # ----- PRIVATE _mimetypes_BuildMenu{ # edit menu setmenu(Preferences,macro,_("MIME T&ypes"),mtypes); setmenu(KMAbout,macro,_("About addons"),mimetypes); } $OnInit=$OnInit."_mimetypes_BuildMenu;"; # ------------------------------------------------------------------------------------------------------------------ $macroModules=$macroModules."rvjmimeedit;";
Quote
siria
Just had a quick look, no test.
Compare the kmm with the native mtypes.kmm
The new one uses the same macro command name "mtypes", that can sometimes give conflicts if the old one isn't deactivated in F2/plugins/macros
The traditional parent menu is "Preferences", which is a submenu of "Edit".
The one in this latest rvj places it in the kmabout menu, which is a submenu in "Help"
Quote
siria
What does that rvj-thing mean? Does it have any deeper meaning?
Because otherwise it would be a lot easier to understand and handle when just renaming the whole macro and the commands in them to mtypes2.kmm / macro mtypes2 / menu mtypes2 etc.
Quote
CHANGE LOG
CHANGE LOG
Version 0.6.1 K - 13 October 2014, Preview existing MIMETypes fixed.
Removed looked state that was only used when the code that drives the addon was used to work with browser prefs.
Version 0.6 K74 - 12 October 2014, uses ID by Bob Janc because K-Meleon can use that now.
Updated CSS and code to play with 74/esr24. 12th.10.2014, guenter. To do. Preview existing MIMEtypes.
Merged with code and strings from K-Meleon's mtypes 0.5.1 extension by alain, kko and guenter and restricted the code to use features known and used by K-Meleon 1.6. Hannover, 08th.01.2009, guenter.
Change log of the original Firefox 3 Extension by Bob Janc.
Version 0.60 - April 15, 2007
1 - Made compatible with Thunderbird 2.0
2 - Modified "About Window" for Thunderbird compatibility
===================================
Version 0.52 - March 29, 2007
1 - Activated the Add-ons window Preferences button for MIME Edit
2 - Added tabbing to the MIME Edit Preferences panel
3 - Added a General Tab with the option to hide/unhide the Tools MIME Edit menu item
4 - Moved the MIME Edit functions to the Edit Tab
5 - Improved the "About Window"
6 - Performed additional code cleanup
===================================
Version 0.51 - February 12, 2007
1 - The original extension called MIME Type Editor was developed by Jordan Callicoat modifying code from Netscape. I used version 0.2 released 3/20/2004 and posted on http://extensionroom.mozdev.org
2 - It worked on FF 1.5.x but wasn't updated for FF 2.0.x
3 - Since it wasn't touched since 3/20/04 and not posted on https://addons.mozilla.org/ I decided to update and maintain it. I started with his original extension, updated to use new extension packaging for FF2 (install.rdf and chrome.manifest), deleted a number of files that weren't needed, cleaned up some of the javascript and xul code and added an icon.
4 - I also changed the globally unique identifier (GUID) for the extension in case Jordan revives his to avoid a conflict in FF when installing and I changed the Internal Name for the same reason.
5 - I also changed the name from MIME Type Editor to MIME Edit to avoid confusion.
===================================
ACKNOWLEDGEMENTS for Firefox
1 - Jordan Callicoat who modified code from Netscape to create MIME Type Edit. I used his version 0.2 released 3/20/2004 as a starting point.
2 - Alice White who contributed to the Firefox and Thunderbird extension.
ACKNOWLEDGMENTS for K-Meleon
0 - All started with: Ben Goodger <ben@netscape.com> the original implementor of the Mozilla Code.
3 - "K-Meleon 1.0 Mimetype Editor 0.5.1": Based on Mozilla 1.7.12 code, inspired by Jordan Callicoat's MIME Type Edit version 0.2 released 3/20/2004, improved by alain and kko, contributors of the K-Meleon project under the GNU public license; original K-Meleon adaptor of the Mozilla code, guenter.
4 - Thx go to disrupted who found and tested the Firefox Extension for K-Meleon, 8th February 2009.
LICENSE:
This program is released under the Simian Public License,
which I just made up. The provisions of use provided under
this license are as follow:
1.) You will not pretend that you made it.
2.) You will not redistribute it for any amount of money.
3.) You will not hold the author responsible for any
mental, physical or emotional damage this program
may cause (either directly or indirectly).
This program is presented "AS IS" and by using it you have
agreed to the terms and conditions stated in the provisions
of use.
Addendum: Portions of this program are property of Netscape /
Mozilla and are covered under their own license(s).
- Jordan Callicoat (MonkeeSage)
snip...
Quote
Siria
But couldn't help modifying the kmm into a (IMHO) cleaner version, that doesn't require users to manually edit two macros.
Quote
JujuLand
Quote
Siria
But couldn't help modifying the kmm into a (IMHO) cleaner version, that doesn't require users to manually edit two macros.
The version I put here needs just to extract a 7z file in the root folder, no more need to modify something.else.
A+
Quote
siria
Guess it makes more sense anyway if such comprehensive stuff is tested by people actually using KM74 fully and online.
Quote
siria
But couldn't help modifying the kmm into a (IMHO) cleaner version, that doesn't require users to manually edit two macros.
Quote
siria
(if anyone doesn't know how, copy blue text below into a new empty notepad file and save as rvjmimeedit.kmm in macros folder):
# Beginn code rvjmimeedit.kmm #UTF-8 K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage2) # # ---------- rvjmimeedit Extension (MIME Type Editor) # # Version: 0.6.1 K Authors: alain, siria, guenter. # http://kmeleonbrowser.org/forum/read.php?1,130230,130881#msg-130881 # Dependencies : main.kmm (OpenURL) # ---------------------------------------------------------------------------- rvjmimeedit_change{ macroinfo=_("Change file type settings"); $OpenURL="chrome://rvjmimeedit/content/pref/pref.xul"; &OpenURL_InNewWindow; } rvjmimeedit_typesInfo{ macroinfo=_("MimeTypes list for information"); $OpenURL="chrome://rvjmimeedit/content/mimeType.html"; &OpenURL_InNewWindow; } _rvjmimeedit_BuildMenu{ setmenu(Preferences,macro,"MIME Types Edit","rvjmimeedit_change",rvjmimeedit_change); setmenu(Preferences,macro,"MIME Types Info List","rvjmimeedit_typesInfo",rvjmimeedit_typesInfo); } #------------------ $OnInit=$OnInit."_rvjmimeedit_BuildMenu;"; $macroModules=$macroModules."rvjmimeedit;"; # End code rvjmimeedit.kmm
Quote
file rvjmimeedit.kmm
#UTF-8 K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage2)
#
# ---------- rvjmimeedit Extension (MIME Type Editor)
#
# Version: 0.6.2f / 2014-11-14
# Forum: kmeleonbrowser.org/forum/read.php?1,130230
# Menu: Edit > Mime Types... + Help > About Addons
# Dependencies : main.kmm
# Resources : xul addon "rvjmimeedit" (11 more files in browser/defaults/... + browser/extensions/...)
# ----------------------------------------------------------------------------
rvjmimeedit_change{
macroinfo=_("Change file type settings (mimetypes)");
$OpenURL="chrome://rvjmimeedit/content/pref/pref.xul";
&OpenURL_InNewWindow;
}
rvjmimeedit_typesInfo{
macroinfo=_("MimeTypes list for information");
$OpenURL="chrome://rvjmimeedit/content/pref/mimeType.html";
&OpenURL_InNew;
}
rvjmimeedit_aboutAddons{
macroinfo=_("Customize addons (e.g. rvjmimeedit = file type settings)");
$OpenURL="about:addons";
&OpenURL_InNewWindow;
}
_rvjmimeedit_BuildMenu{
# in menu HELP + 2x EDIT
setmenu(KMAbout,macro,"About Addons","rvjmimeedit_aboutAddons",-1);
setmenu("Preferences",macro,"MIME Types Info List","rvjmimeedit_typesInfo","MIME T&ypes...");
setmenu("Preferences",macro,"MIME Types Edit (RVJ)","rvjmimeedit_change","MIME T&ypes...");
}
#------------------
$OnInit=$OnInit."_rvjmimeedit_BuildMenu;";
$macroModules=$macroModules."rvjmimeedit;";
Quote
JujuLand
Hi,
chrome://
doesn't work under Linux. That's why I modified it to
getfolder(rootfolder).....
A+