General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
no menu at all if it is possible ?
Posted by: alan_in_france
Date: July 09, 2008 02:15PM

hello every one

for a local application (on 127.0.0.1)
I would like to configure:
- just to see the web page
- no menu
- no menu "on click"

so that there is no possibility to go back - it will only be possible to click links included on the page - it will not bepossible to start from a page different from the default starting page.

can anyone help ?

(how to configure files ? - or is it necessary to recomplie ?)

tks

Alan

Options: ReplyQuote
Re: no menu at all if it is possible ?
Posted by: Fred
Date: July 09, 2008 03:37PM

You could have a look at my kiosk browser variation
K-Meleon18113forCD-kiosk.
Notes and download links can be found on the page
for Unofficial K-Meleon's , here :

http://kmeleon.sourceforge.net/wiki/UKmeleon#km18113cd

In this variation K-Meleon is working in full screen
mode only, with all taskbars hidden.
You could hide also parts of the right click context menu,
that you not want to be visible, uncommenting in
the file menus.cfg the lines that are unwanted by
setting a hash (a # sign) at the start of every line
that you don't want to show.
Anyhow I would not take out going back, or else you
could not go back to the start page from a clicked link.
It is not necessary to have the browser on a CD, it can
be in a folder of the harddisk, and also work as an
additional browser variation to your usual K-Meleon
(but not at the same time, of course).

To disable the possibility to use the keyboard shortcuts,
rename accels.cfg inside the K-Meleon folder to for example
accels.cfg2 .
To disable the two "windows keys" in Windows (the ones with
the Windows flag on it), which would bring up
the windows start menu, containing browsers and other
programs, that could then be started, it would be
necessary to edit the Windows registry, which is not
difficult, but should be executed precisely, in order
to avoid system crashes of the worst kind.
Read the information about proceding from the Microsoft
support page, here ;

http://support.microsoft.com/kb/216893

If you should be hesitant to edit the Windows registry,
there is a .reg patch to download and execute, that
can be found here :

http://johnhaller.com/jh/useful_stuff/disable_windows_key/

Do whatever you prefer, but it will be your own
responsability, to do that correctly.

I hope that I could be helpful.
Fred

Options: ReplyQuote
Re: no menu at all if it is possible ?
Posted by: JohnHell
Date: July 09, 2008 03:44PM

Well, you could configure the FullScreen plugin to force K-meleon start at FullScreen and disable or change for other non-intuitive keys, to restore the windows in the accels.cfg. Also you can remove from there the back keys, and other.

Then for the right click menu, you can edit menus.cfg, changing the content of "DocumentPopup" menu with the basic ID commands: undo, copy, paste, delete, select all

Options: ReplyQuote
Re: no menu at all if it is possible ?
Posted by: JamesD
Date: July 09, 2008 03:46PM

This might get you started. Put these two lines in your user.js file.

user_pref("kmeleon.plugins.fullscreen.last", true);

user_pref("browser.startup.homepage", " [your local page] ");

The menus are still there, but you can't see them. To get rid of memues you can try the setmenu command in the macro language. Just so you know, there are a lot of menus when you include the right click ones. Someone may know a better way to get rid of menues. You might also not want to run some of the plugins. If you have turned off the history, IE favorites,and bookmarks plugins there will be fewer menus to work on turning off.

Options: ReplyQuote
Re: no menu at all if it is possible ?
Posted by: JamesD
Date: July 09, 2008 04:44PM

If you go to your KM folder and defaults\settings you can rename the menus.cfg to menus.old to get rid of all menus. That plus fullscreen to "true" gets rid of menus and toolbar.

Options: ReplyQuote
Re: no menu at all if it is possible ?
Posted by: kko
Date: July 09, 2008 04:47PM

For K-Meleon 1.1 and 1.5:

1) Make a new K-Meleon installation into a new directory for this purpose.
2) In this new K-Meleon installation directory do the following:

- Create a new text file and rename it to profile.ini (not profile.ini.txt).
- In \defaults\pref\I10n.js set pref kmeleon.general.homePage to your liking (file:///C:/...).
- In \defaults\pref\kmeleon.js set all kmeleon.plugins.<pluginname>.load prefs to false except for <pluginname>=rebarmenu.
- In \defaults\pref\skin.js set kmeleon.toolband.Menu.visibility and "kmeleon.toolband.URL Bar.visibility" to false.
- Empty the file \defaults\profile\prefs.js.
- Add the following line to \defaults\profile\user.js: user_pref("kmeleon.toolband.Throbber.visibility", false);
- K-Meleon 1.5 only: Add the following line to \defaults\profile\user.js: user_pref("kmeleon.display.statusbar", false);
- In \defaults\settings empty (or delete) the files accel.cfg and menus.cfg.
- Start k-meleon.exe.


Alternatively, for K-Meleon 1.5:

- In \defaults\settings empty (or delete) the files accel.cfg and menus.cfg.
- Start k-meleon.exe with command line parameter -webapp.

Options: ReplyQuote
Re: no menu at all if it is possible ?
Posted by: kevin
Date: March 06, 2010 08:43AM

if you want disable key without edit windows registry,
try this http://www.autowinsoftware.com/products/disable-key

Options: ReplyQuote


K-Meleon forum is powered by Phorum.