Man, my first macro and it took me half my life (nearly
) The little one for just killing background-images has grown into a monster baby by now *blush* Yeah, yet another styles macro, I know there are already countless others out there with much better styles and I'm crazy, but I'm finally going to post that thing now - ufff!! ;-)
------------------------------------------------------------
It's my first, please let me know if it works or if something is completely rubbish...?
------------------------------------------------------------
It's got a few gimmicks though
Comes with a bunch of
-
BUTTONS which can be selected by menu (in KM154 / until then only 0-1 button by macro)
- and/or normal buttons by toolbar.cfg, copy-paste per menu to help newbies
- same for
ICONS in dropdown MENUS, copy-paste per menu again
- includes the SciTE-EDITOR which has great
SYNTAX HIGHLIGHTING, makes it easier to catch typos and to read
-
Help file, plain txt which that editor also highlights nicely :-) (plus little popup-helps)
-
Menu to choose editor for changing the css-sheets or read cfg or help or kmm-files (choose e.g. windows default editor or user-set)
-
Menu to quickly edit the handful stylesheets, plus 5 empty ones for users Test- and Customized styles
-
Menu to delete/reset the user-set prefs in about:config, since they quickly add up if someone toggles many buttons or has two toolbars with each 4 positions
------------------------------------------------------
Menu-1: (multiple buttons)
.
------------------------------------------------------
So what's that thing good for?
This extension can temporarily modify how web pages are displayed: You surf to a new page, then find it perhaps hard to read or whatever, then you can hit a style button and instantly the page looks different (other text color or size, REMOVED BACKGROUND-IMAGE or other color, highlight links etc.) If you like it better that way - great. If not, try another style (they add up), or hit reload to get the original style back.
Note: No javascript needed, and those style buttons work only for the currently displayed page. They don't prevent anything from getting downloaded, meaning they can't save you bandwidth, sorry. After a page is fully loaded, do what you want with the style, but as soon as you RELOAD the page or go to another one, everything will be back to normal.
------------------------------------------------------
PS Windows98: The macro works fine, and the editor too if started from outside the browser, but to get the editor-buttons per menu to work too, set the scite.exe properties on Millenium- or NT-compatible with Kernel-Ex (see help).
.
------------------------------------------------------
Menu to set editor, and note single button above (free choice which, menu is always on right-click):
.
------------------------------------------------------
Menu-3: Some native KM menus, just to have them easier together for newbies.
I was so bold to inject the "hide background-image" into the native page properties menu. If you don't like that, just open stylebuttons.kmm and add a # at those setmenu-lines.
.
------------------------------------------------------
Syntax-Highlighting with Scite, for css etc.: (included kmm-format by kko, thanx :-)
.
------------------------------------------------------
Style to
INDICATE INVISIBLE PICS:
If you wonder what someone in a forum is talking about, somehow you get a suspicion he may have posted an image, but there's absolutely nothing there, not even a broken-image-icon or anything: Hit the image-border-button, it *may* well be that out of nowhere some empty
borders appear, and if only a tiny little rectangle! (=age old bug in mozilla browsers for unsized images, hopefully fixed soon - Oops, forgot, it's not a bug it's a feature! ;-) (note: those borders don't seem to show for adblocked images, and alas sometimes "overlook" a few others too)
The borders are set to appear only if an image has no size-tag, because the sized ones have icons if missing. By the way, red-blue borders mean there's a link behind the image, and red-yellow means no links.
.
------------------------------------------------------
If you come across a page where links aren't underlined and almost hidden somewhere in the other text: When you're done reading, hit the
links-highlight-button for a quick check:
(Not that links were that hard in this forum, so a bad example, LOL!)
.
------------------------------------------------------
Other examples: Some webpage may have a pretty photo background, but alas the thin text on it is difficult to decipher: Enjoy the photo, then hit the style-button to
remove the background image and you can easily read the text. Or you may prefer to merely set the
whole text in bold letters instead. Or you may come across a page where you just hate the pink
background color: Just exchange it with your favorite color. (Again, bad example pic, but you get the idea ;-)
.
------------------------------------------------------
Style for
big fonts and other colors: Perhaps you're someone struggling with bad eye sight, then you can take a look at the original page, in order not to miss anything, then eclipse the background image and set all fonts to big bold black Verdana on nice beige ground or whatever:
.
------------------------------------------------------
Help.txt highlighted by Editor:
.
------------------------------------------------------
DOWNLOAD: (COOKIES must be allowed)
Stylebuttons01 incl. syntax highlighting (700 kB incl. SciTE-editor)
www.datafilehost.com/download-5761abab.html
(Stylebuttons01 without editor (37 k
, NOT recommended ;-)
(
http://kmeleonbrowser.org/forum/file.php?9,file=736,filename=stylebuttons01_macro_only.7z )
Unzip it into the "k-meleon"-folder!
Contains the kmm-macro, a folder KM/styles with a bunch of css-sheets, a folder "editor_scite" which lands in KM/tools, and buttons-pics and help files are in KM/skins/default. All linked in the menus.
The menu "Stylebuttons" shows up in "View", in "Page context", and (if set) on all its toolbar-buttons on right-click.
Attention, the single button (for only opening the menu) needs a bit a longer click, or a right-click, to avoid that bug with outdated checkmarks currently.
Edited 3 time(s). Last edit at 02/28/2014 11:02PM by siria.