General :  K-Meleon Forum
General discussion about K-Meleon. 
Flashblock Toggle
Posted by: crabboy
Date: March 30, 2009 02:07PM

Is there a way to toggle Flashblock on and off (other than going to Preferences)? Sometimes it works for me, sometimes not.

Options: ReplyQuote
Re: Flashblock Toggle
Posted by: desga2
Date: March 30, 2009 08:06PM

Are you tried with Privacy bar?
View -> Toolbars -> Privacy Bar
There is a button named "Kill Flash".

K-Meleon in Spanish

Options: ReplyQuote
Re: Flashblock Toggle
Posted by: crabboy
Date: March 31, 2009 06:26AM

Not really what I had in mind. Flashblock usually works as intended. I don't know if it's a version mismatch (AFAIK I have the latest version of flash), but occasionally I click on the "f-circle" and get nothing. If I uncheck flashblock and refresh. the flash element in the page will play normally. What I'd like is some key combination that would toggle flashblock off and on so I could enjoy these pages without having to go to preferences>content filters.

Options: ReplyQuote
Re: Flashblock Toggle
Posted by: desga2
Date: April 03, 2009 03:39AM

Try with this extension:

New Flashblock Extension for K-Meleon 1.5.X!

Changes:
+ Updated to last Flashblock 1.5.9 version.
+ Added Flashblock buttons for toolbars. (Two types; toolbar button, privacy button)
+ Added Flashblock menu in Tools -> Privacy, and in right click context menu of toolbar button.
+ Little optimizations in Flashblock files (less size).
+ First improved for Flashblock Whitelist (Experimental).

About Flashblock Whitelist:
This is a first experimental implementation of this feature, performance isn't very good because I'm using OnLoad event and auto-reload without Flashblock if web page host is in whitelist. (Reload the web page is needed but this is do it automatically)

Download link: K-Ext15X_Flashblock.zip

Note: Only for K-Meleon 1.5.X, macro (flashblock.kmm) file not work with 1.1.X versions because I used if() statement in it.
But you can adapted the macro for work in 1.1.x if you like it. Replace if() statements to old conditional (<condition>?true:false;) statement.

K-Meleon in Spanish



Edited 5 time(s). Last edit at 04/03/2009 03:48AM by desga2.

Options: ReplyQuote
Re: Flashblock Toggle
Posted by: reeko124
Date: April 03, 2009 04:32AM

Flashblock is nice to have but I find myself not being able to use it that much. You can't have have javascript off with it and on an older computer a javascript and flash heavy site will basically lock your browser. There isn't no lesser of two evils in that instance sad smiley. On my laptop there is no problem but on my old desktop I have that problem.

Options: ReplyQuote
Re: Flashblock Toggle
Posted by: Yogi
Date: April 04, 2009 03:48AM

@ reeko124

Surely not the awaited solution but a solution in any case would be the use of a local filtering proxy. I'm using Proxomitron (there are also other alternatives I never used like Privoxy which is crossplatform and has support for SOCKS) for more than 8 years.
It's at least as powerful as AdBlock+ and for sure more versatile (proxy checker/switcher, live header viewer/faker etc.
Last but not least you can use it simultaneously with every browser installed on your system.



Options: ReplyQuote
Re: Flashblock Toggle
Posted by: soccerfan
Date: April 04, 2009 04:45AM

Quote
desga2
Note: Only for K-Meleon 1.5.X, macro (flashblock.kmm) file not work with 1.1.X versions because I used if() statement in it.
But you can adapted the macro for work in 1.1.x if you like it. Replace if() statements to old conditional (<condition>?true:false;) statement.

Could you "pretty please" make a macro for 1.1.x
if I made a very humble request. Many thanks for this.

soccerfan

Options: ReplyQuote
Re: Flashblock Toggle
Posted by: desga2
Date: April 07, 2009 02:40AM

Patch for above Flashblock Extension adapted for work in 1.1.X versions.

flashblock_11x.zip

Install my Flashblock 1.5.X extension.
Unzip in K-Meleon folder the flashblock_11x.zip and overwrite the files.

Note: In 1.1.X the Flashblock preference in Advanced Preferences panel not work with this changes.

K-Meleon in Spanish

Options: ReplyQuote
Re: Flashblock Toggle
Posted by: soccerfan
Date: April 07, 2009 03:54AM

Quote
desga2
Patch for above Flashblock Extension adapted for work in 1.1.X versions.
flashblock_11x.zip

Thanks desga2. Much appreciated smiling smiley

soccerfan

Options: ReplyQuote
Re: Flashblock Toggle
Posted by: crabboy
Date: April 09, 2009 03:35PM

Quote
desga2
Try with this extension:

New Flashblock Extension for K-Meleon 1.5.X!

Forgive my ignorance...how to install?

Options: ReplyQuote
Re: Flashblock Toggle
Posted by: reeko124
Date: April 09, 2009 10:28PM

Download and run the exe. Thats how I did it for mine and it works

Options: ReplyQuote
Re: Flashblock Toggle
Posted by: xGrind
Date: April 10, 2009 04:09AM

When flashblock is enabled, it opens a black screen.
P.S. with this extension

Options: ReplyQuote
Re: Flashblock Toggle
Posted by: desga2
Date: April 10, 2009 06:10PM

What version 1.1.x or 1.5.X?
In what web site?
What black screen?
What Flash plugin version are you using?

K-Meleon in Spanish

Options: ReplyQuote
Re: Flashblock Toggle
Posted by: xGrind
Date: April 10, 2009 11:13PM

KM 1.5.2
http://www.youtube.com
screen main
Adobe Flash Player 10 Plugin

Options: ReplyQuote
Re: Flashblock Toggle
Posted by: desga2
Date: April 11, 2009 02:00AM

Work fine for me, can you post a screen capture?

K-Meleon in Spanish

Options: ReplyQuote
Re: Flashblock Toggle
Posted by: xGrind
Date: April 11, 2009 04:45AM

normal grinning smiley

Options: ReplyQuote
Re: Flashblock Toggle
Posted by: ndebord
Date: August 04, 2009 10:26PM

desga2,

I notice that you say this is a first time out of the box implementation of flashblock? May I ask what improvements you are thinking about doing for it and what problems you see with the current version?

I'm thinking about using it because of the Adobe cock-up which made me realize that KillFlash on Privacy button wasn't enough protection. SIGH

N

Options: ReplyQuote
Re: Flashblock Toggle
Posted by: desga2
Date: August 05, 2009 02:27PM

Quote
desga2
+ First improved for Flashblock Whitelist (Experimental).

First implementation with Whitelist and toolbar button.

At this moment any improvements is thinking by me for it.

Sorry I don't remember any problem with current version.

K-Meleon in Spanish

Options: ReplyQuote
Re: Flashblock Toggle
Posted by: ndebord
Date: August 06, 2009 09:10AM

desga2,

That's good to know that this implementation is good to go!

Much Thanks.

N

Options: ReplyQuote
Re: Flashblock Toggle
Posted by: siria
Date: January 12, 2010 04:34AM

Quote
reeko124
Flashblock is nice to have but I find myself not being able to use it that much. You can't have have javascript off with it and on an older computer a javascript and flash heavy site will basically lock your browser. There isn't no lesser of two evils in that instance sad smiley

Yes there is: Block "objects" cool smiley
I always had the same problem, but since a couple of months am surfing with a "block objects" button in the privbar, although it's a bit tedious to toggle javascript and objects all the time - but I consider it the least of 3 evils ;-)

That's the macro for it:

# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)
#
# ------------------------ MAIN2_for_KM153_only (?)  --------------- (v1.1, Sep.2009) --------------
#
#  Please check in future versions in the macro MAIN.KMM, if those two prefs are already included. 
#  I call this "main2" because I suppose the inclusion is only a matter of time, and then this macro will have to be
#  deleted to avoid duplicates. With that name it's hopefully less likely to be overlooked and forgotten to delete.
#  
#  To TOGGLE "EMBEDDED OBJECTS" (FLASH,VIDEOS,etc.) and "DOM STORAGE" (files+supercookies)
#
#  1) OBJECTS:   Controls <EMBED> and <OBJECT> tags, like PLUGIN content.  
#  Javascript on/off doesn't matter, but attention, there will be NO PLACEHOLDERS, no hints at all. 
#  Therefore best used only as an addition to the normal "Flashblock", as long as javascript is off.
#  Blocking does NOT work if a movie etc. is called directly, only if embedded in a webpage (see macro "open video")
#  2) DOM STORAGE:           in development, see   http://en.wikipedia.org/wiki/DOM_storage
#  Will allow websites to store huge files of all sorts, max 5MB per site = 1000x bigger than cookies. 
#
# ----------------------------- MENU  --------------------------------
#  TOGGLE those two prefs in MENU TOOLS / PRIVACY   Or type about:config to find them:
#         1) permissions.default.object  (integer)  1=all allowed / 2=all blocked  / 3=no third party
#         2) dom.storage.enabled  (boolean)   true/false
#  More info on what the numbers mean, and possible white-black-list:  http://kb.mozillazine.org/Hostperm.1
# 
# ---------------------------- Buttons optional ---------------------
#  If you want BUTTONS:  add them to the privacy bar in toolbars.cfg, button lines start with:
#         1) Objects {
#             macros(pref_ToggleObjects)|&Privacy
#	    Block most Objects/Embeds/Plugins incl. Flash (3 Toggles: All blocked / Site allowed / All allowed)
#	2) Dom Storage {
#             macros(pref_ToggleDomStorage)|&Privacy
#	    Block DOM Storage (Storing huge files max 5MB, DOM Cookies)
# --------------------------------------------------------------------------------------

# ----- similar main.kmm, chapter:  Accessibility/Privacy/Security

$pref_Objects="permissions.default.object";
$pref_DomStorage="dom.storage.enabled";

pref_ToggleObjects{
macroinfo=_("Toggle object loading");
menuchecked=(getpref(INT,$pref_Objects)==2);
togglepref(INT,$pref_Objects,1,2,3); &_pref_SyncButtons2;
statusbar(sub("%s",getpref(INT,$pref_Objects)==2?$off:$on,_("Object loading %s")));
}
pref_ToggleDomStorage{
macroinfo=_("Toggle DomStorage-supercookies");
menuchecked=!getpref(BOOL,$pref_DomStorage);
togglepref(BOOL,$pref_DomStorage); &_pref_SyncButtons2;
statusbar(sub("%s",!getpref(BOOL,$pref_DomStorage)?$off:$on,_("DomStorage support %s")));
}

# ----- PRIVATE

# Menu Integration
_pref_BuildMenu2{
setmenu(_Privacy_Settings,macro,"Block &Objects",pref_ToggleObjects);
setmenu(_Privacy_Settings,macro,"Block DOM SuperCookies",pref_ToggleDomStorage);
}
$OnInit=$OnInit."_pref_BuildMenu2;";

# Toolbar Integration
_pref_SyncButtons2{
pluginmsg(toolbars,"CheckButton","&Privacy Bar,macros(pref_ToggleObjects),".(getpref(INT,$pref_Objects)==2?1:0));
pluginmsg(toolbars,"CheckButton","&Privacy Bar,macros(pref_ToggleDomStorage),".(getpref(BOOL,$pref_DomStorage)?0:1));
}

$OnLoad=$OnLoad."_pref_SyncButtons2;";
$OnStartup=$OnStartup."_pref_SyncButtons2;";

#-----------------------------------------------------------------------------



Edited 2 time(s). Last edit at 01/12/2010 04:43AM by siria.

Options: ReplyQuote
Re: Flashblock Toggle
Posted by: yyanna2
Date: January 13, 2010 06:11PM

ip logged-abuse mail sent
antiabuse.support@relianceada.com



Edited 2 time(s). Last edit at 01/14/2010 08:36AM by disrupted.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.