Extensions
: K-Meleon Web Browser Forum
All about K-Meleon extensions.
Go to:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
[Please, enable JavaScript to see the code]
Enter code:
[quote=siria] [color=red][b]UPDATE: Version 2.0 (2010-02-12), with lots more options and menu[/b][/color] [img]http://kmeleon.sourceforge.net/forum/file.php?9,file=762,filename=fullscreen2plus-menu1.png[/img] . [img]http://kmeleon.sourceforge.net/forum/file.php?9,file=763,filename=fullscreen2plus-menu2.png[/img] Needed a function to quickly toggle more toolbars in fullscreen mode, not just the tabsbar. This macro can now be used to [b][color=green]toggle between sort of a "small" and a "full" fullscreen mode, and more options[/color][/b] ;-) While F11 still toggles Full Screen on/off, this macro adds "[b][color=green]Shift+F11" to toggle more toolbars. [/color][/b] Also accessible by right-clicking on page. New settings will be remembered for next time. To reset, click SHIFT+F11 again. Escape from FullScreen mode as always with simple F11, or right-click on page. To toggle single toolbars, click Edit > Preferences (F2) > Fullscreen. It can also be used to just [b][color=green]hide the title bar[/color][/b] of tabs or windows, in the minimalist version (=fullscreen permanent, with all 4 toolbars visible, then Shift+F11 for "real" fullscreen). PS: I think in K-Meleon 1.6 or newer a title bar setting is already included by default. [color=red][b][size=large]DOWNLOAD v2.0 as .kmm : [/size] http://kmeleon.sourceforge.net/forum/file.php?9,file=761,filename=fullscreen2plus_v2.kmm [/b][/color] This is the kmm-file as below in blue, just [b]put it as it is into your macros folder[/b] and restart K-Meleon. [color=red][b]Or DOWNLOAD v2.0 as .7z: http://kmeleon.sourceforge.net/forum/file.php?9,file=764,filename=fullscreen2plus_v2.7z [/b][/color] This is the [b]7z-file for the KEM-installer[/b], includes an ini-file and screenshots for info and later uninstall. Can also be added without installer, just unzip it into your K-Meleon folder and restart browser (the 'installer' does the same, just a little more comfortable). [color=red][b]Or alternatively manual installation: [/b][/color] As usual, open notepad or another editor, and copy into it the BLUE lines below, then save as "fullscreen2plus.kmm" in your macros folder (make sure there's no .txt at the end). Restart browser. [b][color=green]PS: Your configuration is needed to decide which toolbars you want to toggle additionally: the status bar, the tabs bar, the task bar (=block at bottom), rebar (=block at top).[/color][/b] [color=blue]# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage2) # # ------------------ fullscreen2plus.kmm -------------- (Version 2.0) ----------------- # Menu entry: View > Full Screen... Or right-click on page # Shortcut: Shift+F11 and more , set below / Command: "macros(fullscreen2plus_togglebars)" # Version: 2.0 / 2010-02-12 / by Siria # Forum: kmeleon.sourceforge.net/forum/read.php?9,102909 #---------------------------------------------------------------------------- # # Like in many windows programs, F11 toggles FullScreen mode on/off in K-Meleon too. # The toolbars to switch off are defined in Edit > Preferences (F2) > Full Screen # # This macro offers a menu to toggle more toolbars on-the-fly, and a second fullscreen mode: # Click SHIFT+F11 to TOGGLE more toolbars: # By choice the status bar, the tabs bar, the task bar (=block at bottom), rebar (=block at top). # New settings will be remembered for next time. To reset, click SHIFT+F11 again. # Escape from FullScreen mode always with simple F11, or right-click on page. # # This offers also to toggle just the TITLE bar on/off in pseudo-normal-mode (=fullscreen but all bars visible) # ########### CONFIGURATION: ########### # Choose in next lines which toolbars to toggle additionally, then set a # on the lines to ignore. # (Note: Toggling tabsbar may have a little bug under certain conditions?) fullscreen2plus_togglebars{ macroinfo="Full screen: Toggle more toolbars (Shift+F11) (Configure in macro fullscreen2.kmm)"; togglepref(BOOL,"kmeleon.plugins.fullscreen.hide_rebar"); togglepref(BOOL,"kmeleon.plugins.fullscreen.hide_tabsbar"); togglepref(BOOL,"kmeleon.plugins.fullscreen.hide_statusbar"); #togglepref(BOOL,"kmeleon.plugins.fullscreen.hide_taskbar"); &_FullScr2p_view; } # Choose in next lines a fixed "mode-3", set hidden toolbars to "true" and visible ones "false" # Will be remembered for next fullscreen toggle. fullscreen2plus_fixmode3{ macroinfo="Full screen mode-3, fix toolbar settings (Configure in macro fullscreen2.kmm)"; setpref(BOOL,"kmeleon.plugins.fullscreen.hide_rebar","false"); setpref(BOOL,"kmeleon.plugins.fullscreen.hide_tabsbar","false"); setpref(BOOL,"kmeleon.plugins.fullscreen.hide_statusbar","false"); setpref(BOOL,"kmeleon.plugins.fullscreen.hide_taskbar","true"); &_FullScr2p_view; } # If you want to modify the shortcuts: Put want you want here, other shortcuts or other commands: # (Update manually menu text in the "setmenu" lines below) _fullscreen2plus_accel{ setaccel("SHIFT VK_F11","macros(fullscreen2plus_togglebars)"); setaccel("ALT VK_F11","macros(fullscreen2plus_toggleboth)"); # setaccel("CTRL VK_F11","macros(fullscreen2plus_xyz)"); } ################# END USER-CONFIG ############## fullscreen2plus_toggletop{ macroinfo="Full screen: Toggle menu bar"; togglepref(BOOL,"kmeleon.plugins.fullscreen.hide_rebar"); &_FullScr2p_view; } fullscreen2plus_togglebottom{ macroinfo="Full screen: Toggle tabs bar and status bar"; togglepref(BOOL,"kmeleon.plugins.fullscreen.hide_tabsbar"); togglepref(BOOL,"kmeleon.plugins.fullscreen.hide_statusbar"); &_FullScr2p_view; } fullscreen2plus_toggleboth{ macroinfo="Full screen: Toggle menu bar, tabs bar and status bar (Alt+F11)"; togglepref(BOOL,"kmeleon.plugins.fullscreen.hide_rebar"); togglepref(BOOL,"kmeleon.plugins.fullscreen.hide_tabsbar"); togglepref(BOOL,"kmeleon.plugins.fullscreen.hide_statusbar"); &_FullScr2p_view; } fullscreen2plus_toggleall{ macroinfo="Full screen: Toggle menu bar, tabs bar, status bar and task bar"; togglepref(BOOL,"kmeleon.plugins.fullscreen.hide_rebar"); togglepref(BOOL,"kmeleon.plugins.fullscreen.hide_tabsbar"); togglepref(BOOL,"kmeleon.plugins.fullscreen.hide_statusbar"); togglepref(BOOL,"kmeleon.plugins.fullscreen.hide_taskbar"); &_FullScr2p_view; } fullscreen2plus_toggletaskbar{ togglepref(BOOL,"kmeleon.plugins.fullscreen.hide_taskbar"); &_FullScr2p_view; } fullscreen2plus_toggletabs{ macroinfo="Full screen: Toggle tabs bar"; togglepref(BOOL,"kmeleon.plugins.fullscreen.hide_tabsbar"); &_FullScr2p_view; } _FullScr2p_view{ # Show FullScreen. If already in that mode, toggle it first "off" then "on" again to refresh the toolbar visibility: if (getpref(BOOL,"kmeleon.plugins.fullscreen.last")==true) plugin(fullscreen,""); plugin(fullscreen,""); } ################# TITLE BAR ############## fullscreen2plus_titleoff{ macroinfo="Hide title bar (=Workaround: Set full screen with all bars visible)"; &_fullscreen2plus_setbak; setpref(BOOL,"kmeleon.plugins.fullscreen.hide_rebar","false"); setpref(BOOL,"kmeleon.plugins.fullscreen.hide_tabsbar","false"); setpref(BOOL,"kmeleon.plugins.fullscreen.hide_statusbar","false"); setpref(BOOL,"kmeleon.plugins.fullscreen.hide_taskbar","false"); &_FullScr2p_view; &_FullScr2p_getbak; } fullscreen2plus_exitFS{ macroinfo="Show title bar (=Workaround:Exit full screen mode)"; if (getpref(BOOL,"kmeleon.plugins.fullscreen.last")==true) plugin(fullscreen,""); } _FullScr2p_setbak{ setpref(BOOL,"kmeleon.plugins.fullscreen.hide_rebar.bak",getpref(BOOL,"kmeleon.plugins.fullscreen.hide_rebar")); setpref(BOOL,"kmeleon.plugins.fullscreen.hide_tabsbar.bak",getpref(BOOL,"kmeleon.plugins.fullscreen.hide_tabsbar")); setpref(BOOL,"kmeleon.plugins.fullscreen.hide_statusbar.bak",getpref(BOOL,"kmeleon.plugins.fullscreen.hide_statusbar")); setpref(BOOL,"kmeleon.plugins.fullscreen.hide_taskbar.bak",getpref(BOOL,"kmeleon.plugins.fullscreen.hide_taskbar")); } _FullScr2p_getbak{ setpref(BOOL,"kmeleon.plugins.fullscreen.hide_rebar",getpref(BOOL,"kmeleon.plugins.fullscreen.hide_rebar.bak")); setpref(BOOL,"kmeleon.plugins.fullscreen.hide_tabsbar",getpref(BOOL,"kmeleon.plugins.fullscreen.hide_tabsbar.bak")); setpref(BOOL,"kmeleon.plugins.fullscreen.hide_statusbar",getpref(BOOL,"kmeleon.plugins.fullscreen.hide_statusbar.bak")); setpref(BOOL,"kmeleon.plugins.fullscreen.hide_taskbar",getpref(BOOL,"kmeleon.plugins.fullscreen.hide_taskbar.bak")); } ################# OTHER ############## fullscreen2plus_openkmm{ macroinfo="Full Screen: Open configuration of macro fullscreen2plus.kmm"; $_FullScr2p_kmm=getfolder(UserMacroFolder)."\\fullscreen2plus.kmm"; readfile($_FullScr2p_kmm)==""?$_FullScr2p_kmm=getfolder(MacroFolder)."\\fullscreen2plus.kmm":0; # exec("notepad.exe \"".$_FSCap_kmm."\""); $ext="kmm"; &getExtensionHandler; exec(sub("%1",$_FullScr2p_kmm,$cmdline)); } _fullscreen2plus_BuildMenu{ $_FullScr2p_menu="Full Screen Toolbars"; setmenu("kFullscreen",macro,"Full Screen Toggle More (Shift+F11)",fullscreen2plus_togglebars,-1); setmenu("kFullscreen",popup,$_FullScr2p_menu,-1); # setmenu($_FullScr2p_menu,macro,"Full Screen Toggle More (Shift+F11)",fullscreen2plus_togglebars,-1); setmenu($_FullScr2p_menu,macro,"Full Screen Mode 3 (fix)",fullscreen2plus_fixmode3,-1); setmenu($_FullScr2p_menu,separator,-1); setmenu($_FullScr2p_menu,macro,"Toggle All",fullscreen2plus_toggleall,-1); setmenu($_FullScr2p_menu,macro,"Toggle Tabs - Status",fullscreen2plus_togglebottom,-1); setmenu($_FullScr2p_menu,macro,"Toggle Top - Tabs - Status (Alt+F11)","fullscreen2plus_toggleboth",-1); setmenu($_FullScr2p_menu,separator,-1); setmenu($_FullScr2p_menu,macro,"Toggle Top",fullscreen2plus_toggletop,-1); setmenu($_FullScr2p_menu,macro,"Toggle Tabs",fullscreen2plus_toggletabs,-1); setmenu($_FullScr2p_menu,command,"Toggle Status",ID_VIEW_STATUS_BAR,-1); setmenu($_FullScr2p_menu,macro,"Toggle Taskbar",fullscreen2plus_toggletaskbar,-1); setmenu($_FullScr2p_menu,separator,-1); setmenu($_FullScr2p_menu,macro,"Title Bar OFF - others ON",fullscreen2plus_titleoff,-1); setmenu($_FullScr2p_menu,macro,"EXIT full screen mode - All bars ON",fullscreen2plus_exitFS,-1); setmenu($_FullScr2p_menu,separator,-1); setmenu($_FullScr2p_menu,macro,"Configuration (F2 - Full Screen)","kmPrefs(kfullscreen)",-1); setmenu($_FullScr2p_menu,macro,"Configuration (macro fullscreen2plus)",fullscreen2plus_openkmm,-1); # setmenu("Tool&bars",separator,-1); setmenu("Tool&bars",macro,"Configure Buttons... (toolbars.cfg)","cfg_Skin(toolbars)",-1); # setmenu("Tool&bars",separator,-1); setmenu("Tool&bars",macro,"Title Bar Off (workaround)",fullscreen2plus_titleoff,-1); setmenu("Tool&bars",macro,"Title Bar On",fullscreen2plus_exitFS,-1); setmenu("Tool&bars",separator,-1); setmenu("Tool&bars",popup,$_FullScr2p_menu,-1); } #------------------------ BROWSER START -------------------- $kFullscreen==true? $OnSetup=$OnSetup."_fullscreen2plus_accel;" : 0; $kFullscreen==true? $OnInit=$OnInit."_fullscreen2plus_BuildMenu;" : 0; $kFullscreen==true? $macroModules=$macroModules."fullscreen2plus;" : 0;[/color][/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
FAQ
English