| KM Accelerator |
Function |
Action |
| Link Handling |
| MButton |
ID_OPEN_LINK_IN_NEW_TAB | ID_OPEN_LINK_IN_NEW_WINDOW |
Middle-click open links to new tab/window. |
| #MButton |
ID_OPEN_LINK_IN_BACKGROUNDTAB | ID_OPEN_LINK_IN_BACKGROUND |
Middle-click open links to new background tab/window. This is commented, is optional. |
| CTRL LButton |
ID_OPEN_LINK_IN_NEW_TAB | ID_OPEN_LINK_IN_NEW_WINDOW |
Ctrl+Left-click links to new tabs/windows. |
| SHIFT LButton |
ID_OPEN_LINK_IN_NEW_WINDOW | ID_OPEN_LINK_IN_NEW_WINDOW |
Shift+Left-click links to new tabs/windows. |
| CTRL RButton |
ID_OPEN_LINK_IN_BACKGROUNDTAB | ID_OPEN_LINK_IN_BACKGROUND |
Ctrl+Right-click links to background tab/window. |
| ALT LButton |
ID_COPY_LINK_LOCATION |
Alt+Left-click link urls to the clipboard for download managers to catch them. |
| Window/Tab Handling |
| #ALT VK_F4 |
ID_FILE_CLOSE |
Close current active window. This is commented, because Alt+F4 is a system keys shortcut. |
| CTRL VK_F4 |
ID_CLOSE_TAB |
Close current active tab. |
| CTRL SHIFT VK_F4 |
ID_CLOSE_ALLTAB |
Close all tabs. |
| SHIFT VK_F4 |
ID_CLOSE_ALLOTHERTAB |
Close all others tabs except the current active tab. |
| CTRL ALT VK_F4 |
ID_APP_EXIT |
Exit K-Meleon, close all K-Meleon windows. |
| CTRL VK_TAB |
ID_TAB_NEXT | ID_WINDOW_NEXT |
Go to next tab/window. |
| CTRL SHIFT VK_TAB |
ID_TAB_PREV | ID_WINDOW_PREV |
Go to previous tab/window. |
| CTRL VK_PRIOR |
ID_TAB_PREV |
Go to previous tab. |
| CTRL VK_NEXT |
ID_TAB_NEXT |
Go to next tab. |
| CTRL ALT VK_TAB |
ID_TAB_LAST |
Go to last previous selected tab. |
| CTRL VK_F7 |
ID_WINDOW_NEXT |
Go to next K-Meleon window. |
| CTRL SHIFT VK_F7 |
ID_WINDOW_PREV |
Go to previous K-Meleon window. |
| ALT VK_LEFT |
ID_NAV_BACK |
Go back one page. |
| ALT VK_RIGHT |
ID_NAV_FORWARD |
Go forward one page. |
| ALT VK_HOME |
ID_NAV_HOME |
Load Home page. |
| VK_BACK |
ID_NAV_BACK |
Go back one page. |
| VK_ESCAPE |
ID_NAV_STOP |
Stop loading current page. |
| Function Keys |
| VK_F1 |
ID_LINK_KMELEON_MANUAL |
Load K-Meleon User's Guide and Reference Manual web page. |
| VK_F2 |
ID_PREFERENCES |
Open Preferences panel. |
| VK_F3 |
ID_EDIT_FINDNEXT |
Find next occurrence searched. |
| SHIFT VK_F3 |
ID_EDIT_FINDPREV |
Find previous occurrence searched. |
| VK_F5 |
ID_NAV_RELOAD |
Reload current page. |
| CTRL VK_F5 |
ID_NAV_FORCE_RELOAD |
Force reload current page. |
| SHIFT VK_F5 |
ID_NAV_FORCE_RELOAD |
Force reload current page. |
| VK_F6 |
ID_SELECT_URL |
Select text in URL bar adress. |
| VK_F11 |
fullscreen() |
Toggle to fullscreen mode. |
| General |
| CTRL SHIFT S |
ID_VIEW_STATUS_BAR |
Hide or show the status bar. |
| CTRL A |
ID_EDIT_SELECT_ALL |
Select all text. This is commented, because Ctrl+A is a system keys shortcut. |
| CTRL B |
bookmarks(edit) |
Open Bookmarks editor. |
| #CTRL C |
ID_EDIT_COPY |
Copy selected to clipboard. This is commented, because Ctrl+C is a system keys shortcut. |
| CTRL D |
bookmarks(add) |
Adds the page to bookmarks. |
| CTRL F |
ID_EDIT_FIND |
Show Find bar at bottom. |
| CTRL G |
ID_NAV_SEARCH |
Open Web Search prompt. If text is selected, searchs the selected text in web search engine. |
| CTRL H |
history(View) |
Opens the history window. |
| CTRL I |
ID_VIEW_PAGE_INFO |
Show a new window with the current page info. |
| CTRL L |
ID_SELECT_URL |
Select text in URL bar adress. |
| CTRL N |
ID_NEW_BROWSER |
Opens a new K-Meleon window. |
| CTRL O |
ID_FILE_OPEN |
Show Open file dialog. |
| CTRL P |
ID_FILE_PRINT |
Open Print dialog. |
| CTRL R |
ID_NAV_RELOAD |
Reload current page. |
| CTRL S |
ID_FILE_SAVE_AS |
Open Save As file dialog. |
| CTRL T |
ID_NEW_TAB |
Open new tab. |
| CTRL U |
ID_VIEW_SOURCE |
Open a new window with the source code of current page. |
| #CTRL V |
ID_EDIT_PASTE |
Paste the contents of the clipboard. This is commented, because Ctrl+V is a system keys shortcut. |
| CTRL W |
ID_CLOSE_TAB | ID_FILE_CLOSE |
Close current tab/window. |
| #CTRL X |
ID_EDIT_CUT |
Cut out the selected text (Copy selected text to the clipboard before deleting it). This is commented, because Ctrl+X is a system keys shortcut. |
| CTRL Y |
ID_EDIT_REDO |
Redo the latest undo changes. This is commented, because Ctrl+Y is a system keys shortcut. |
| CTRL Z |
ID_EDIT_UNDO |
Undo the latest changes. This is commented, because Ctrl+Z is a system keys shortcut. |
| CTRL ALT S |
sessions(Save) |
Save the current session. |
| CTRL ALT P |
ID_FILE_PRINTPREVIEW |
Toggle to print preview. |
| CTRL ALT W |
ID_CLOSE_ALLOTHERTAB |
Close all other tabs but not current active tab. |
| CTRL ALT Z |
sessions(Undo) |
Undo last closed tab/window. |
| CTRL SHIFT R |
ID_NAV_FORCE_RELOAD |
Force reload of current page. |
| CTRL SHIFT W |
ID_CLOSE_ALLTAB |
Close all tabs. |
| Zoom |
| CTRL VK_PLUS |
ID_FONT_INCREASE |
Increase the font size. |
| CTRL VK_ADD |
ID_FONT_INCREASE |
Increase the font size. |
| CTRL VK_MINUS |
ID_FONT_DECREASE |
Decrease the font size. |
| CTRL VK_SUBTRACT |
ID_FONT_DECREASE |
Decrease the font size. |
| Defined by Macros: accel.kmm |
| CTRL LButton |
ID_OPEN_LINK_IN_NEW_TAB | ID_OPEN_LINK_IN_NEW_WINDOW |
Default K-Meleon. |
| SHIFT LButton |
ID_OPEN_LINK_IN_NEW_TAB | ID_OPEN_LINK_IN_NEW_WINDOW |
Default K-Meleon. |
| CTRL SHIFT LButton |
(not defined) |
Default K-Meleon. |
| ALT SHIFT LButton |
(not defined) |
Default K-Meleon. |
| CTRL ALT SHIFT LButton |
(not defined) |
Default K-Meleon. |
| MButton |
ID_OPEN_LINK_IN_NEW_TAB | ID_OPEN_LINK_IN_NEW_WINDOW |
Default K-Meleon. |
| SHIFT MButton |
(not defined) |
Default K-Meleon. |
| CTRL RButton |
ID_OPEN_LINK_IN_BACKGROUNDTAB | ID_OPEN_LINK_IN_BACKGROUND |
Default K-Meleon. |
| CTRL LButton |
(not defined) |
Opera 9.2. |
| SHIFT LButton |
ID_OPEN_LINK_IN_NEW_TAB | ID_OPEN_LINK_IN_NEW_WINDOW |
Opera 9.2. |
| CTRL SHIFT LButton |
ID_OPEN_LINK_IN_BACKGROUNDTAB | ID_OPEN_LINK_IN_BACKGROUND |
Opera 9.2. |
| ALT SHIFT LButton |
ID_OPEN_LINK_IN_NEW_TAB | ID_OPEN_LINK_IN_NEW_WINDOW |
Opera 9.2. |
| CTRL ALT SHIFT LButton |
ID_OPEN_LINK_IN_BACKGROUNDTAB | ID_OPEN_LINK_IN_BACKGROUND |
Opera 9.2. |
| MButton |
ID_OPEN_LINK_IN_BACKGROUNDTAB | ID_OPEN_LINK_IN_BACKGROUND |
Opera 9.2. |
| SHIFT MButton |
(not defined) |
Opera 9.2. |
| CTRL RButton |
(not defined) |
Opera 9.2. |
| CTRL LButton |
ID_OPEN_LINK_IN_BACKGROUNDTAB | ID_OPEN_LINK_IN_BACKGROUND |
Mozilla browsers (FF & SM). |
| CTRL SHIFT LButton |
ID_OPEN_LINK_IN_NEW_TAB | ID_OPEN_LINK_IN_NEW_WINDOW |
Mozilla browsers (FF & SM). |
| ALT SHIFT LButton |
(not defined) |
Mozilla browsers (FF & SM). |
| CTRL ALT SHIFT LButton |
(not defined) |
Mozilla browsers (FF & SM). |
| MButton |
ID_OPEN_LINK_IN_BACKGROUNDTAB | ID_OPEN_LINK_IN_BACKGROUND |
Mozilla browsers (FF & SM). |
| SHIFT MButton |
ID_OPEN_LINK_IN_NEW_TAB | ID_OPEN_LINK_IN_NEW_WINDOW |
Mozilla browsers (FF & SM). |
| CTRL RButton |
ID_OPEN_LINK_IN_NEW_TAB | ID_OPEN_LINK_IN_NEW_WINDOW |
Mozilla browsers (FF & SM). |
| SHIFT LButton |
ID_OPEN_LINK_IN_NEW_WINDOW |
Firefox 2. |
| SHIFT LButton |
ID_SAVE_LINK_AS |
Seamonkey 1.1. |
| ALT D |
ID_SELECT_URL |
Default K-Meleon. |
| Defined by Macros: domcomplete.kmm |
| CTRL VK_RETURN |
macros(domComplete(0)) |
Manual domain completion: www.<URL>.com |
| CTRL ALT VK_RETURN |
macros(domComplete(1)) |
Manual domain completion: www.<URL>.net |
| CTRL SHIFT VK_RETURN |
macros(domComplete(2)) |
Manual domain completion: www.<URL>.org |
| Defined by Macros: hotlink.kmm |
| CTRL [0-9] |
macros(hotlink(0-9)) |
Hotlinks Ctrl+[0-9] to open defined web pages. |
| Defined by Macros: ie.kmm |
| CTRL ALT I |
macros(IE_OpenPage) |
Open current page in IE. |
| Defined by Macros: main.kmm |
| CTRL ALT O |
macros(OpenURL) |
Prompt for an URL to open. |
| VK_F7 |
macros(pref_ToggleJavaScript) |
Toggle JavaScript execution. |
| VK_F8 |
macros(pref_TogglePopups) |
Toggle popup blocking. |
| VK_F9 |
macros(pref_ToggleImages) |
Toggle image loading. |
| CTRL ALT N |
macros(Go_New) |
Open URL Bar contents in a new page. |
| CTRL ALT V |
macros(Go_Paste) |
Open Clipboard contents as URL. |
| Defined by Macros: search.kmm |
| CTRL G |
macros(Search) |
Consult the default search engine. |
| SHIFT VK_RETURN |
macros(Search) |
Consult the default search engine. |
| CTRL SHIFT V |
macros(Search_PasteAndSearch) |
Search the Web for Clipboard contents. |
| Defined by Macros: zoom.kmm |
| ALT VK_PLUS |
macros(Zoom_Images_In) |
Increase image size. |
| ALT VK_ADD |
macros(Zoom_Images_In) |
Increase image size. |
| ALT VK_MINUS |
macros(Zoom_Images_Out) |
Decrease image size. |
| ALT VK_SUBTRACT |
macros(Zoom_Images_Out) |
Decrease image size. |
| CTRL ALT VK_PLUS |
macros(Zoom_Page_In) |
Zoom into the current page. |
| CTRL ALT VK_ADD |
macros(Zoom_Page_In) |
Zoom into the current page. |
| CTRL ALT VK_MINUS |
macros(Zoom_Page_Out) |
Zoom out of the current page. |
| CTRL ALT VK_SUBTRACT |
macros(Zoom_Page_Out) |
Zoom out of the current page. |
These commands are provided by the kplugins (plugins for K-Meleon) and it's the dll files that you find the folder \K-Meleon\kplugins.
| MACROS Plugin, some useful macros |
Function |
Available in Accel, Macros, Menus, Toolbars |
| macros(MACRO_NAME) |
Generic syntax to call a macro. |
Macro defined in file: |
| macros(Accel_Mouse([option])) |
Apply the specified mouse accelerator configuration. Options:
empty => K-Meleon defaults
"Firefox 2.0"
"SeaMonkey 1.1"
"Opera 9.2" |
Macro defined in file: accel.kmm |
| macros(cfg_FileNotFound) |
Show a warning of a file not found. |
Macro defined in file: cfg.kmm |
| macros(cfg_ProfileDir) |
Open the profile directory. |
Macro defined in file: cfg.kmm |
| macros(cfg_SettingsDir) |
Open the settings directory. |
Macro defined in file: cfg.kmm |
| macros(cfg_Macros) |
Open the default macros directory. |
Macro defined in file: cfg.kmm |
| macros(cfg_UserMacros) |
Open the user macros directory. |
Macro defined in file: cfg.kmm |
| macros(cfg_Commands) |
View a list of commands available for menus, macros and toolbars. |
Macro defined in file: cfg.kmm |
| macros(cfg_Skin) |
Edit a skin configuration file. |
Macro defined in file: cfg.kmm |
| macros(cfg_Settings) |
Edit a configuration file. |
Macro defined in file: cfg.kmm |
| macros(cfg_UserPrefs) |
Edit a preferences file. |
Macro defined in file: cfg.kmm |
| macros(cfg_UserStyle) |
Edit a user style sheet. |
Macro defined in file: cfg.kmm |
MIGRATION COMPATIBILITY (only one execution is needed) |
This macro is used to migrate K-Meleon profiles from versions 1.0 to 1.1 and from 1.1 to 1.5.
It support the compatibility to Preferences, Groups/Sessions and Layer/Tabs. |
Macro defined in file: compat.kmm |
| macros(Console2) |
Open the enhanced error console. |
Macro defined in file: console2.kmm |
| macros(DocInfo_Image) |
View image properties. |
Macro defined in file: docinfo.kmm |
| macros(DocInfo_Link) |
View link properties. |
Macro defined in file: docinfo.kmm |
| macros(DocInfo_Page_Links) |
View all links in the current page. |
Macro defined in file: docinfo.kmm |
| macros(DocInfo_Frame_Links) |
View all links in the current frame. |
Macro defined in file: docinfo.kmm |
| macros(DocInfo_Page_LinkedImages) |
View all images linked by the current page. |
Macro defined in file: docinfo.kmm |
| macros(DocInfo_Frame_LinkedImages) |
View all images linked by the current frame. |
Macro defined in file: docinfo.kmm |
| macros(DocInfo_Page_Images) |
View all images in the current page. |
Macro defined in file: docinfo.kmm |
| macros(DocInfo_Frame_Images) |
View all images in the current frame. |
Macro defined in file: docinfo.kmm |
| macros(domComplete(0)) |
Complete the domain of URL bar text and go it. www.<URL>.com |
Macro defined in file: domcomplete.kmm |
| macros(domComplete(1)) |
Complete the domain of URL bar text and go it. www.<URL>.net |
Macro defined in file: domcomplete.kmm |
| macros(domComplete(2)) |
Complete the domain of URL bar text and go it. www.<URL>.org |
Macro defined in file: domcomplete.kmm |
| macros(Encoding_AutoDetect([CHARSET])) |
Apply the specified character set autodetection method.
For CHARSET look in macro file. |
Macro defined in file: encoding.kmm |
| macros(Encoding_ForceCharset([CHARSET])) |
Force the specified character set encoding.
For CHARSET look in macro file. |
Macro defined in file: encoding.kmm |
| macros(hotlink(N)) => N=[0-9] |
Open the specified hotlink. |
Macro defined in file: hotlink.kmm |
| macros(IE_OpenPage) |
Opens the current page in Internet Explorer. |
Macro defined in file: ie.kmm (sendto.kmm) |
| macros(IE_OpenLink) |
Open link in Internet Explorer. |
Macro defined in file: ie.kmm (sendto.kmm) |
| macros(IE_OpenImage) |
Open image in Internet Explorer. |
Macro defined in file: ie.kmm (sendto.kmm) |
| macros(IE_OpenURL) |
Opens the URL bar text in Internet Explorer. |
Macro defined in file: ie.kmm (sendto.kmm) |
| macros(Mail_ConfigureMail) |
Opens the dialog to configure your mail client. |
Macro defined in file: mail.kmm |
| macros(Mail_ConfigureNews) |
Opens the dialog to configure your news client. |
Macro defined in file: mail.kmm |
| macros(Mail_ReadMail) |
Opens your preferred email client. |
Macro defined in file: mail.kmm |
| macros(Mail_ReadNews) |
Opens your preferred news client. |
Macro defined in file: mail.kmm |
| macros(Mail_ComposeMessage) |
Opens your mail client. |
Macro defined in file: mail.kmm |
| macros(Mail_SendPageURL) |
Send a link to the current page by mail. |
Macro defined in file: mail.kmm |
| macros(Mail_SendLinkURL) |
Send the current link by mail. |
Macro defined in file: mail.kmm |
| macros(Mail_SendImageURL) |
Send a link to the current image by mail. |
Macro defined in file: mail.kmm |
| macros(Mail_SendFrameURL) |
Send a link to the current frame by mail. |
Macro defined in file: mail.kmm |
| macros(Mail_SendSelection) |
Send the selected text by mail. |
Macro defined in file: mail.kmm |
| macros(mtypes) |
Change file type settings. |
Macro defined in file: mtypes.kmm |
| macros(NewsFox) |
Open NewsFox for reading news feeds. |
Macro defined in file: newsfox.kmm |
| macros(Proxy_None) |
Connect directly to the Internet. |
Macro defined in file: proxy.kmm |
| macros(Proxy_Auto) |
Connect to the Internet over any detected proxy. |
Macro defined in file: proxy.kmm |
| macros(Proxy_Custom([option])) |
Connect to the Internet over the specified proxy. Options:
proxyN => where N is a number from 1 to N proxies defined in Preferences
kmeleon.plugins.macros.proxyN.name |
Macro defined in file: proxy.kmm |
| macros(Reload_Continuously) |
Continuously reload the current page. |
Macro defined in file: reload.kmm |
| macros(Search) |
Uses the default search engine to search for the selected text or URL bar text (if different from page URL). Otherwise, the search prompt will appear. |
Macro defined in file: search.kmm |
| macros(Search_PasteAndSearch) |
Search the Web for Clipboard contents. |
Macro defined in file: search.kmm |
| macros(Search_ToggleEngineLock) |
Lock or unlock the current search engine as the default engine. |
Macro defined in file: search.kmm |
| macros(Search_Metasearch) |
Search the Web using multiple engines. |
Macro defined in file: search.kmm |
| macros(Search_KMForums) |
Search the K-Meleon forums. |
Macro defined in file: search.kmm |
| macros(Search_Engine([option])) |
Search the Web using the specified engine. Options:
N => number of search engine
Look web search Preferences, kmeleon.plugins.macros.search.engine
or search.xml file in your profile folder. |
Macro defined in file: search.kmm |
| macros(Translate_From([option])) |
Translate from the specified language. Options:
xx => Where xx is a local language pair; en=english, es=spanish, ... |
Macro defined in file: translate.kmm |
| macros(Translate_To([option])) |
Translate to the specified language. Options:
xx => Where xx is a local language pair; en=english, es=spanish, ... |
Macro defined in file: translate.kmm |
| macros(Translate_ToggleRegion([option])) |
Show languages from the specified region in the translation menu or not. Options:
0 => West European
1 => North European
2 => East European
3 => South European
4 => East Asian
5 => SE And SW Asian
6 => Middle Eastern |
Macro defined in file: translate.kmm |
| macros(UserAgent([option])) |
Set the specified User Agent string. Options:
empty => K-Meleon default
1 => Firefox 2.0
2 => SeaMonkey 1.1 |
Macro defined in file: useragent.kmm |
| macros(UserAgent_Custom) |
Set a custom User Agent string. |
Macro defined in file: useragent.kmm |
| macros(UserAgent_AlertString) |
View the current User Agent string. |
Macro defined in file: useragent.kmm |
| macros(UserAgent_ToggleReset) |
Toggle resetting the default User Agent string when exiting. |
Macro defined in file: useragent.kmm |
| macros(Zoom_In) |
Perform the Zoom In button action. |
Macro defined in file: zoom.kmm |
| macros(Zoom_Out) |
Perform the Zoom Out button action. |
Macro defined in file: zoom.kmm |
| macros(Zoom_Page_In) |
Increases the size of images and text on the page. |
Macro defined in file: zoom.kmm |
| macros(Zoom_Page_Out) |
Decreases the size of images and text on the page. |
Macro defined in file: zoom.kmm |
| macros(Zoom_Images_In) |
Increases the size of images on the page. |
Macro defined in file: zoom.kmm |
| macros(Zoom_Images_Out) |
Decreases the size of images on the page. |
Macro defined in file: zoom.kmm |
| macros(Zoom_Image_In) |
Increase the size of the current image. |
Macro defined in file: zoom.kmm |
| macros(Zoom_Image_Out) |
Decrease the size of the current image. |
Macro defined in file: zoom.kmm |
| macros(Zoom_Page) |
Let zoom buttons effect text and images. |
Macro defined in file: zoom.kmm |
| macros(Zoom_Text) |
Let zoom buttons effect text only. |
Macro defined in file: zoom.kmm |
| macros(Zoom_Images) |
Let zoom buttons effect images only. |
Macro defined in file: zoom.kmm |
| MAIN MACROS, some useful macros |
Function |
Available in Accel, Macros, Menus, Toolbars |
- Events strings:
$OnInit
$OnSetup
$OnStartup
$OnOpenWindow
$OnOpenTab
$OnLoad
$OnLoadOnce
$OnActivateWindow
$OnCloseWindow
$OnCloseTab
$OnCloseGroup
$OnWMAppExit
$OnQuit |
Append any macro to be executed On[event] to the appropriate string (semicolon-separated lists ';'). |
Macro defined in file: main.kmm |
- Macro modules string:
$macroModules |
Append any installed module's name to this string (semicolon-separated list ';'). |
Macro defined in file: main.kmm |
- Plugins presence:
$kBookmarks
$kFavorites
$kFullscreen
$kHistory
$kHotlist
$kLayers
$kLayersOnly
$kPrivacy
$kRebarmenu
$kSessions
$kToolbars
$kTabs |
Use these global vars to determine the presence of a plugin.
Do not read kmeleon.plugins.?.load at runtime! (The pref may be false although the plugin is currently loaded or vice versa. |
Macro defined in file: main.kmm |
| macros(kTabs_Detach) |
Detach this tab from the current window. |
Macro defined in file: main.kmm |
| macros(kTabs_ReloadAll) |
Reload all tabs in the current window. |
Macro defined in file: main.kmm |
| macros(kPrivacy_ClearAll) |
Deletes all your privacy data: cache, cookies, history, URL bar history and passwords. |
Macro defined in file: main.kmm |
| macros(kmPrefs([section])) |
Change preferences and settings. |
Macro defined in file: main.kmm |
- Use for text files: (Open)
macros(getExtensionHandler)
- Use for script files: (Edit)
macros(getSecureExtensionHandler) |
These macros can be used in conjunction with the exec() and
promptforfile() statements to get a command line and a file
type description for a given file extension. |
Macro defined in file: main.kmm |
- To open URLs:
macros(OpenURL)
macros(OpenURL_InBg)
macros(OpenURL_InNew)
macros(OpenURL_InNewWindow)
macros(OpenURL_Selected)
macros(OpenURL_Typed) |
Except OpenURL these macros can only be called by other macros,
because macro function caller must previously define the variable $OpenURL with the URL to open.
Prompt for an URL to open.
Same as OpenURL_InNew, but in background.
Open an URL in a new tab if tabs are enabled, in a new window otherwise.
Open an URL in a new window.
Use this method when an URL was generated from selected text.
Use this method when an URL was generated from a direct user input (by typing into URL Bar or any prompt). |
Macro defined in file: main.kmm |
- Mozilla Chrome:
macros(moz_AboutCache_Image)
macros(moz_AboutCache)
macros(moz_AboutConfig)
macros(moz_JSConsole)
macros(moz_CertificateViewer)
|
View cache information.
View information about the Cache Service.
View the browser configuration page
Open the error console
View stored certificates
|
Macro defined in file: main.kmm |
- Paths to Privacy Preferences:
$pref_Animation
$pref_Colors
$pref_Cookies
$pref_Frames
$pref_Images
$pref_Java
$pref_JavaScript
$pref_Popups
$pref_Referer
|
To use with getpref(TYPE,[preference]). |
Macro defined in file: main.kmm |
| $pref_JavaSupport |
Use this global var to determine whether Java can be enabled at runtime. |
Macro defined in file: main.kmm |
| macros(pref_ToggleAnimation) |
Toggle image animation. |
Macro defined in file: main.kmm |
| macros(pref_ToggleColors) |
Toggle page colors. |
Macro defined in file: main.kmm |
| macros(pref_ToggleCookies) |
Toggle cookie acceptance. |
Macro defined in file: main.kmm |
| macros(pref_ToggleFrames) |
Toggle frame support. |
Macro defined in file: main.kmm |
| macros(pref_ToggleImages) |
Toggle image loading. |
Macro defined in file: main.kmm |
| macros(pref_ToggleJava) |
Toggle Java support. |
Macro defined in file: main.kmm |
| macros(pref_ToggleJavaScript) |
Toggle JavaScript execution. |
Macro defined in file: main.kmm |
| macros(pref_TogglePopups) |
Toggle popup blocking. |
Macro defined in file: main.kmm |
| macros(pref_ToggleReferer) |
Toggle HTTP referer transmission. |
Macro defined in file: main.kmm |
- Type Ahead Find (Page Search):
$_pref_TAF
macros(pref_ToggleTAF)
macros(pref_ToggleTAFAuto)
macros(pref_ToggleTAFLinks)
|
Path to Preference.
Toggle Find As You Type.
Toggle Find As You Type Autostart.
Toggle Find As You Type in links only.
|
Macro defined in file: main.kmm |
- K-Meleon Preferences:
$KM_Version
$KM_Flashblock
$KM_Adblock |
K-Meleon version.
Path to Flashblock preference.
Path to Adblock preference. |
Macro defined in file: main.kmm |
| macros(KM_ToggleFlashblock) |
Toggle Flashblock. |
Macro defined in file: main.kmm |
| macros(KM_ToggleAdblock) |
Toggle Ad-Blocking StyleSheet. |
Macro defined in file: main.kmm |
- Homepage preferences:
$KM_Homepage
$KM_HomeSess
$KM_StartHome
$KM_StartSess |
Path to Homepage preference.
Path to Home Session preference.
Path to Start Home preference.
Path to Start Session preference. |
Macro defined in file: main.kmm |
| macros(KM_SetAsHomepage) |
Set the current page as the Home page. |
Macro defined in file: main.kmm |
| macros(KM_StartBlank) |
Let K-Meleon start with a blank page. |
Macro defined in file: main.kmm |
| macros(KM_StartWithHomepage) |
Let K-Meleon start with the Home page. |
Macro defined in file: main.kmm |
| macros(KM_StartWithSession) |
Let K-Meleon start with a saved session. |
Macro defined in file: main.kmm |
- JavaScript Document Handling:
$JS_doit
$JS_func
$JS_last
$JS_fail |
Parameters for JS_hndlDoc(s) (set those you need before calling the macro):
Takes the code to be executed in the context of each frame.
Is the right place for functions and global variables (e.g. when you want to count something over all frames)
Is the right place for finishing actions (e.g. when you want to alert what you have counted over all frames)
Is the right place to handle errors that may occur when accessing a frame (Gecko prevents cross-site scripting) |
Macro defined in file: main.kmm |
| macros(JS_hndlDocs) |
To inject JS in each frame. |
Macro defined in file: main.kmm |
| macros(JS_hndlDoc) |
Same as JS_hndlDocs, but only for the current frame. |
Macro defined in file: main.kmm |
| macros(JS_hndlTop) |
Same as JS_hndlDoc, but only for the topmost frame (to avoid cross site scripting). |
Macro defined in file: main.kmm |
- JavaScript Image Handling:
$JS_doitImage
$JS_doitInput |
Parameters for JS_hndlImage (set those you need before calling the macro):
Takes the code to be executed in the context of all matching images in the current frame.
Takes the code to be executed in the context of all matching image-type input elements in the current frame |
Macro defined in file: main.kmm |
| macros(JS_hndlImage) |
To inject JS for images. |
Macro defined in file: main.kmm |
- Parameter for JS_hndlLink:
$JS_doitLink |
Parameters for JS_hndlLink (set this you need before calling the macro):
Takes the code to be executed in the context of all matching links in the current frame. |
Macro defined in file: main.kmm |
| macros(JS_hndlLink) |
To inject JS in all matching links in the current frame. |
Macro defined in file: main.kmm |
| macros(JS_reloadFrame) |
Reload the current frame. |
Macro defined in file: main.kmm |
| macros(JS_reloadImage) |
Reload the current image. |
Macro defined in file: main.kmm |
| macros(JS_killApplets) |
Erase all Java applets in the current page. |
Macro defined in file: main.kmm |
| macros(JS_killFlash) |
Erase all Flash objects in the current page. |
Macro defined in file: main.kmm |
| macros(JS_scrollTop) |
Scroll to the top of the current page. |
Macro defined in file: main.kmm |
| macros(JS_scrollBottom) |
Scroll to the bottom of the current page. |
Macro defined in file: main.kmm |
| macros(JS_scrollLeft) |
Scroll to the left end of the current page. |
Macro defined in file: main.kmm |
| macros(JS_scrollRight) |
Scroll to the right end of the current page. |
Macro defined in file: main.kmm |
| macros(Go_Copy) |
Copy URL Bar contents to the Clipboard. |
Macro defined in file: main.kmm |
| macros(Go_New) |
Open URL Bar contents in a new page. |
Macro defined in file: main.kmm |
| macros(Go_Paste) |
Open Clipboard contents as URL. |
Macro defined in file: main.kmm |
| macros(Go_Reset) |
Reset the URL Bar. |
Macro defined in file: main.kmm |
| macros(Go_Selected) |
Open the selected text as URL or open URL Bar contents. |
Macro defined in file: main.kmm |
| macros(Go_Top) |
Go to the topmost directory level of the current domain. |
Macro defined in file: main.kmm |
| macros(Go_Up) |
Go up one directory level in the current domain. |
Macro defined in file: main.kmm |
| macros(Home) |
Perform the Home button action. |
Macro defined in file: main.kmm |
| macros(RSS) |
Perform the RSS button action. |
Macro defined in file: main.kmm |
| macros(Open_TextAsURL) |
Open the selected text as URL. |
Macro defined in file: main.kmm |
| macros(Open_KMReadme) |
View basic information on the K-Meleon project. |
Macro defined in file: main.kmm |
| macros(Open_KMWiki) |
Go to the K-Meleon Wiki. |
Macro defined in file: main.kmm |
| macros(ExecMacros_Frames) |
Execute one or more macros if frame support is granted.
Parameters (set before calling):
$ExecMacros = The macros to be executed (semicolon-separated list ';'). |
Macro defined in file: main.kmm |
| macros(ExecMacros_JavaScript) |
Execute one or more macros if JavaScript execution is granted.
Parameters (set before calling):
$ExecMacros = The macros to be executed (semicolon-separated list ';'). |
Macro defined in file: main.kmm |
| macros(ExecMacros_Popups) |
Execute one or more macros overriding any restriction in regard to popup windows.
Parameters (set before calling):
$ExecMacros = The macros to be executed (semicolon-separated list ';').
$ForceTab = Force popups into tabs (true or false). |
Macro defined in file: main.kmm |
| macros(ExecMacros_List) |
Execute one or more macros for each item of a semicolon-separated list (;).
Parameters (set before calling):
$ExecMacros = The macros to be executed (semicolon-separated list ';').
$List = The list to be processed ("[string1];[string2];...;[stringN];" or an empty string).
Output (for use in your macros):
$ListItem = The current substring [stringM]. |
Macro defined in file: main.kmm |
INDEX |
Since version 1.0, K-Meleon is storing its profiles in your Application Data (%AppData%) directory by default.
This is to ensure that K-Meleon has the necessary privileges to write to its profile directory on modern NT-based Windows operating systems (NT/2000/XP/Vista) which are the most common today.
The location of the %AppData% directory depends on your specific Windows version.
In case of doubt, you can always open your current profile directory from out of K-Meleon (choose Edit > Configuration > Profile Directory).
To set a different location for your profiles, you have the following possibilities:
When installing K-Meleon using the setup program, you are given the possibility to locate your profiles in the K-Meleon installation directory (which is the classic behavior) instead of the %AppData% directory.
When you are asked to select the components to install, simply uncheck the option "Multi-user Profiles".
The setup program will then create a file called profile.ini (which is a simple text file) in your K-Meleon installation directory (where k-meleon.exe resides).
By default, profile.ini has the following contents (an empty profile.ini has the same effect):
The value of the variable path specifies the location of the folder which contains your profiles.
If the variable isRelative is set to 1, the value of path is taken relative to the K-Meleon installation directory.
In the above case, your profiles will be located in subfolder Profiles of the K-Meleon installation directory.
Otherwise, if isRelative is set to 0, the value of path must be a fully qualified path.
K-Meleon 1.5.x has a new profile component (similar to the one of Firefox - or it even is the one of Firefox).
In K-Meleon 1.5 the file profiles.ini is the profile pointer.
In previous versions the file registry.dat is the profile pointer.
The purpose of the profile pointer is to tell the browser what profiles exist and where they are located.
In order to move or rename profile directories, just edit profiles.ini (registry.dat is synchronized automatically).
One of the advantages of the new system is portability. In order to get a portable installation of K-Meleon 1.5, you just need to uncheck the option "Multi-user profiles" when installing (or manually place a profile.ini in the installation directory).
You can then just copy the installation directory to a USB stick - the installation will work whatever drive letter the stick may get.
By using an old profile with a new version of K-Meleon you might miss some of the new features.
Compare your profile files with those available in C:\Program Files\K-Meleon\defaults\profile\ and do the needed adjustments.
For migrating from K-Meleon 0.7 to K-Meleon 0.8 these new features include LButton, MButton and RButton in accel.cfg, and DocumentImagePopup and FrameDocumentImagePopup in menus.cfg.
The following files can be backed up to tranfer your profile to a new install of K-Meleon.
Do not try to transfer any other files. (and never mind if your profile doesn't have all of these files)