Development :  K-Meleon Web Browser Forum
K-Meleon development related discussions. 
adblockplus en K-Meleon74 versión RC2
Posted by: PAPIMIX
Date: September 18, 2014 02:46AM

Hola que tal

Solo para pedirle a los desarrolladores que cuando ya esté la versión final se pueda instalar una version de adblockplus, ya que el bloqueador de publicidad que viene incluido en el navegador funciona bien, sin embargo no funciona en algunas páginas y en especial la de YOUTUBE, donde hacen esperar 5 segundos hasta que se pueda saltar publicidad y ver el video.

Gracias.

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: guenter
Date: September 18, 2014 05:23AM

Quote
PAPIMIX
Hola que tal

Solo para pedirle a los desarrolladores que cuando ya esté la versión final se pueda instalar una version de adblockplus, ya que el bloqueador de publicidad que viene incluido en el navegador funciona bien, sin embargo no funciona en algunas páginas y en especial la de YOUTUBE, donde hacen esperar 5 segundos hasta que se pueda saltar publicidad y ver el video.

Gracias.

Hola,

Update from RC2? Dorian gave free planed Release 74.


Forum search: Adblock 90 days.

http://kmeleonbrowser.org/forum/read.php?2,126206,128584#msg-128584

Also see this older test version with installed ADBLOCK.

http://kmeleonbrowser.org/forum/read.php?2,128038


Installing Firefox extension/addons is partly implemented.

See: http://kmeleonbrowser.org/forum/read.php?9,128836

If this method does not work, You must download/install the addon with a Firefox. Set extensions.alwaysUnpack to true in about:config so that Firefox unpacks it for You. And You manually copy it from Mozilla/Firefox/profiles.../extensions to a K-Meleon's extensions location.


Not all Firefox addons can work. K-Meleon has no XUL GUI. So nothing that requires a XUL GUI can work.


You can install the newest ADBLOCKPLUS of Firefox and get the old macros from k-meleon extension pages. It should work for Release also. Works for me in 1.).

Install location: 1.) ./K-Meleon/browser/extensions or 2.) ./used Profile/extensions/

for the addon and ./macros or ./used Profile/macros/ for the macro.

The light weight blocker BluHell Firewall also works. I use that.


Greetings to Mexico from Germany



Edited 3 time(s). Last edit at 09/18/2014 01:00PM by guenter.

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: KMfan2
Date: September 19, 2014 04:21AM

Quote
guenter

The light weight blocker BluHell Firewall also works. I use that.

Greetings to Mexico from Germany

Hello. I've tried to add BluHell Firewall but it does not work for me. Can you make a step by step tutorial?

Thanks!

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: guenter
Date: September 19, 2014 06:11AM

Quote
KMfan2
Quote
guenter

The light weight blocker BluHell Firewall also works. I use that.

Greetings to Mexico from Germany

Hello. I've tried to add BluHell Firewall but it does not work for me. Can you make a step by step tutorial?

Thanks!

Download the xpi. Make sure that its name is

{6BB5760D-F97E-421B-AF5B-8457A90C3CED}.xpi

Sometimes extension files are downloaded with another name.
You can find out the name needed for the addon folder in its install.rtf, section
<em:id>{6BB5760D-F97E-421B-AF5B-8457A90C3CED}</em:id>
Either the xpi or the unpacked folder must bear this name to work.



Create the sub-folder ./K-Meleon74final (or whatever You named it)/browser/extensions

copy {6BB5760D-F97E-421B-AF5B-8457A90C3CED}.xpi there and restart.

This works for me.

The folder ./browser exists in the K-Meleon folder. I created the subfolder extensions inside. And installed my extensions there. That location makes it usable for all users of this K-Meleon on this PC.

I copied them and the whole folder with installed addons there from 74 RC2.

And I set the macro below to true in menu Edit. It creates a pref value "kmeleon.install_firefox_extension" that can be toggled.

If You do not have it copy & paste the code into a text editor, save as xpinstallext.kmm with encoding UTF-8 and copy it into ./K-Meleon/macros.
For example psPad or Notepad2 know to do encoding.

The same can be done for the other location mentioned. That install location is only for the one user that owns the used profile. Create the subfolders extensions and macros there if You want to use that.

URL about:addons shows You whether all worked.
The page about:addons can be bookmarked for future use.

# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage2)
#
# ---------- xpinstallext.kmm
# ---------- Switch for addon xpi intstall to KM ----------------
#
# Dependencies : main.kmm
# Resources :
# Preferences : "kmeleon.install_firefox_extension"
# Author : JamesD
# Version : 0.3 2014-09-03
# -------------------------------------------------------------------------

_xpinstallext_perfcheck {
$_xpinstallext_PStatus = getpref(BOOL, "kmeleon.install_firefox_extension");
$_xpinstallext_PStatus ? 0 : setpref(BOOL, "kmeleon.install_firefox_extension", false) ;
}

_xpinstallext_toggle {
menuchecked=getpref( BOOL , "kmeleon.install_firefox_extension" )==true;
togglepref(BOOL, "kmeleon.install_firefox_extension") ;
}

_xpinstallext_BuildMenu {
setmenu("&Edit", macro, _("Set FireFox extension install"), _xpinstallext_toggle, -1);
}

$OnStartup=$OnStartup."_xpinstallext_perfcheck;";
$OnInit=$OnInit."_xpinstallext_BuildMenu;";
# -------------------------------------------------------------------------
$macroModules=$macroModules."xpinstallext;";



Edited 2 time(s). Last edit at 09/19/2014 11:34AM by guenter.

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: KMfan2
Date: September 19, 2014 08:42AM

Quote
guenter

Download the xpi. Make sure that its name is

{6BB5760D-F97E-421B-AF5B-8457A90C3CED}.xpi

Thanks ! You are the best !

BluHell Firewall is better than AdBlock ! And lighter ! Plus you do not have to install filter subcriptions, just install and that's it.

Best K-meleon release so far KM 74 RC2! I must take my words back about "bloated" release, with BluHell Firewall and Firefox compatibility mode is everything i need, light and working !

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: guenter
Date: September 19, 2014 07:20PM

AFAIR robocop found the BluHell addon. smiling smiley



Edited 1 time(s). Last edit at 09/19/2014 07:21PM by guenter.

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: chinarobin
Date: September 20, 2014 04:08AM

i think i have follow the instrucions and kmeleon.install_firefox_extension is ture, but nothing shown in about:addons, what's the problem?

thanks.

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: KMfan2
Date: September 20, 2014 05:36AM

Quote
chinarobin
i think i have follow the instrucions and kmeleon.install_firefox_extension is ture, but nothing shown in about:addons, what's the problem?

thanks.

You have to install Bluhell in Firefox.
1. Go to Firefox and enetr about:config , search extensions.alwaysUnpack pref and set it to true. Restart Firefox.
2. Open Firefox, search Bluhell addon and install it.
3. close Firefox then go to Program Filles/Mozilla/Firefox/profiles/extensions (or where you have installed your Firefox)
4. In extensions folder you have {6BB5760D-F97E-421B-AF5B-8457A90C3CED} folder.
5. Go to Kmeleon folder in Program Files (or where you have your Kmeleon folder) and enter browser folder; create extensions folder
6. Copy {6BB5760D-F97E-421B-AF5B-8457A90C3CED} folder from Firefox and paste it in Kmeleon extensions folder.

Does it work?

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: chinarobin
Date: September 20, 2014 08:21AM

Quote
KMfan2
Quote
chinarobin
i think i have follow the instrucions and kmeleon.install_firefox_extension is ture, but nothing shown in about:addons, what's the problem?

thanks.

You have to install Bluhell in Firefox.
1. Go to Firefox and enetr about:config , search extensions.alwaysUnpack pref and set it to true. Restart Firefox.
2. Open Firefox, search Bluhell addon and install it.
3. close Firefox then go to Program Filles/Mozilla/Firefox/profiles/extensions (or where you have installed your Firefox)
4. In extensions folder you have {6BB5760D-F97E-421B-AF5B-8457A90C3CED} folder.
5. Go to Kmeleon folder in Program Files (or where you have your Kmeleon folder) and enter browser folder; create extensions folder
6. Copy {6BB5760D-F97E-421B-AF5B-8457A90C3CED} folder from Firefox and paste it in Kmeleon extensions folder.

Does it work?

3. close Firefox then go to Program Filles/Mozilla/Firefox/profiles/extensions
no profiles folder, extensions is under browser folder,and no {6BB5760D-F97E-421B-AF5B-8457A90C3CED} folder



Edited 1 time(s). Last edit at 09/20/2014 08:22AM by chinarobin.

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: guenter
Date: September 20, 2014 09:35AM

Install addons is not fully activated/working in Realease and other recent issues.
I think it fully works when You have naruman's test version 74+1 with all updates.

Therefore we do a manual install if needed.

Quote
chinarobin

3. close Firefox then go to Program Filles/Mozilla/Firefox/profiles/extensions
no profiles folder, extensions is under browser folder,and no {6BB5760D-F97E-421B-AF5B-8457A90C3CED} folder

The folder in ./program files/Firefox/... is to install for all users of a Firefox and rarely used (I do not even know how to get something installed there grinning smiley). So if nothing is there on Your PC You search inside the default location.

The default location is used for the user that owns a Firefox profile and is in:

C:/*/User Name/Applications/Mozilla/firefox/profiles/UsedProfile/extensions.

I only know * in German. It is where Windows stores the System settings and so on.

https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data

It is close to K-Meleon's default profile. Start to look from there if You have no portable install. When You have the problem again.

p.s. I attached the addon. Rename to xpi and place it in ./browser/entensions
It is an extension that works for me from inside the xpi.

But xpi is no allowed extension to upload here.sad smiley



Edited 1 time(s). Last edit at 09/20/2014 09:57AM by guenter.

Attachments: {6BB5760D-F97E-421B-AF5B-8457A90C3CED}.zip (47.2 KB)  
Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: chinarobin
Date: September 20, 2014 10:40AM

tired! i quitsad smiley, thank you both, and sorry for wasting your time.

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: guenter
Date: September 20, 2014 11:39AM

Quote
chinarobin
tired! i quitsad smiley, thank you both, and sorry for wasting your time.

Did not You see that I uploaded/attached the addon?

Did forum mangle the name of the upload?

http://kmeleonbrowser.org/forum/file.php?2,file=859,filename=_6BB5760D-F97E-421B-AF5B-8457A90C3CED_.zip

Just donload, rename to

{6BB5760D-F97E-421B-AF5B-8457A90C3CED}.xpi

and place in the ./browser/extensions folder.

You are not wasting my time.

It is just hard to converse in a foreign language.sad smiley

Good night to China. It is afternoon here in Germany now.



Edited 1 time(s). Last edit at 09/20/2014 11:47AM by guenter.

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: chinarobin
Date: September 20, 2014 12:27PM

Quote
guenter
Quote
chinarobin
tired! i quitsad smiley, thank you both, and sorry for wasting your time.

Did not You see that I uploaded/attached the addon?

Did forum mangle the name of the upload?

http://kmeleonbrowser.org/forum/file.php?2,file=859,filename=_6BB5760D-F97E-421B-AF5B-8457A90C3CED_.zip

Just donload, rename to

{6BB5760D-F97E-421B-AF5B-8457A90C3CED}.xpi

and place in the ./browser/extensions folder.

You are not wasting my time.

It is just hard to converse in a foreign language.sad smiley

Good night to China. It is afternoon here in Germany now.

Good afternoonsmiling smiley, it is 20:26 in Beijing time.

Did as you say above, but Add-on Manager never work for me, wired.

i just want to try Blu Hell, I'll use adblock plus for now since it is not ok

on my pc.



Edited 3 time(s). Last edit at 09/20/2014 12:34PM by chinarobin.

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: KMfan2
Date: September 20, 2014 05:19PM

Problem with BluHell Firewall: it is blocking a pop-up window ( i can't see some text). I enabled Java and Javascript but the same. When disabled BluHell, the pop-up page works well. help :s

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: guenter
Date: September 20, 2014 08:39PM

Quote
chinarobin


i just want to try Blu Hell, I'll use adblock plus for now since it is not ok

on my pc.

Blu Hell uses less resources. But Wladimir Palant's product is the state of the art since many years. IMHO. If Your PC has enough resources why not?

Quote
KMfan2
When disabled BluHell, the pop-up page works well. help :s

I do not know how too. sad smiley

Sorry I do not develop the addon. Usually there is a popup that can add continue.

If this does option not exist for You?

If it is a page You need? Use Adblock. It is in this business for ages.

It is the industry standart!


p.s. I am in K-Meleon support for 11 years now. I set up different K-Meleons with different settings, extensions and capabilies. That I can do this is one of the reasons why I use K-Meleon as main browser.

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: siria
Date: September 20, 2014 09:23PM

Try if the popup works in a current Firefox?
If not, perhaps ask on the FF-addon page, if anyone else has that prob. Looks like the author keeps updating the rules. You'll have to tell on which page of course, and which gecko version you use. Probably is in menu Help>About K-Meleon, or visit a useragent info site.
Then again, it could also be one of the hundred hidden settings on about:config page.



Edited 1 time(s). Last edit at 09/20/2014 09:26PM by siria.

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: KMfan2
Date: September 21, 2014 09:26AM

Quote
siria
Try if the popup works in a current Firefox?

It doesn't work if BluHell is active. If disabled it works. But in FF on pup-up page we have BluHell icon and we can easily turn on/off Bluhell. It sure be nice to have the icon in KM !!!

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: guenter
Date: September 22, 2014 09:20PM

Quote
KMfan2
Quote
siria
Try if the popup works in a current Firefox?

It doesn't work if BluHell is active. If disabled it works. But in FF on pup-up page we have BluHell icon and we can easily turn on/off Bluhell. It sure be nice to have the icon in KM !!!

We cannot have the FF icon. K-Meleon does not have XUL GUI like Firefox.
Or better we need to know what code it pushes.

Because what we need to know is a a pref value that toggles the BluHell on/off.
Then we can create a button with a kmm that toggles this pref.
That can be copied from examples so even I can do or have done that before.

Else You need to add the pages where it doesn't work to the exception pref of BluHell most likly manually. A macro for this might be possible but far above my skills.

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: KMfan2
Date: September 23, 2014 07:09AM

Quote
guenter

Because what we need to know is a a pref value that toggles the BluHell on/off.
Then we can create a button with a kmm that toggles this pref.
That can be copied from examples so even I can do or have done that before.

Else You need to add the pages where it doesn't work to the exception pref of BluHell most likly manually. A macro for this might be possible but far above my skills.

I searched the place where BluHell stores it's prefs but i didn't find it. It seems that BluHell is not based on blacklists but on some blocking rules.

It should be nice to have a macro to toogle BluHell on or off !

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: guenter
Date: September 23, 2014 11:27AM

Quote
KMfan2

I searched the place where BluHell stores it's prefs but i didn't find it. It seems that BluHell is not based on blacklists but on some blocking rules.

It should be nice to have a macro to toogle BluHell on or off !

I had already searched when I posted above. Same result as You. I did not find the pref to toggle it.

1.) Yes rules / regular expressions?

Quote
BluHell Page
How this is achieved is thanks to just seven hard-coded blocking rules covering about 8400 .com and .net domains, these were auto-generated from Easylist

Looks and sounds like rules based on regular expressions derived from the list.

2.) In the future we will/may need such a toggle for more than 1 extension.

Maybe ask someone?

Ask naruman if he has an idea?

Else ask at the HP of BluHell.



Edited 1 time(s). Last edit at 09/23/2014 11:31AM by guenter.

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: luk3Z
Date: January 06, 2015 09:43AM

about:addons -> "BluHell Firewall is incompatibile with KM 74.0".
It's not working :/

__________________________________________
How to install Firefox addons in KM 76 RC:
http://kmeleonbrowser.org/forum/read.php?9,141979
Icons for Goanna KM/SM:
http://kmeleonbrowser.org/forum/read.php?10,150634
K-Meleon Quick Reference:
http://kmeleonbrowser.org/docs.php
Basilisk/KM/SM xpi converter:
https://www.addonconverter.fotokraina.com/
Best regards.

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: guenter
Date: January 06, 2015 11:59AM

Quote
luk3Z
about:addons -> "BluHell Firewall is incompatibile with KM 74.0".
It's not working :/

I assume I must be doing something wrong then? :O



p.s. BluHell Firewall 2.5.0 has handicaps because there is no way to switch it off on the fly for some pages. But it definitely WFM for most pages.

Check that kmeleon.install_firefox_extension is true. In about:config
Checkbox for that is on the bottom of Edit.

Maybe also use ADDON https://addons.mozilla.org/de/firefox/addon/checkcompatibility/ If above counsel does not help.

That suppresses further compatibility checking.

The German text in brown reads at the TOP of pic: about:addons reads.
Addon compatibility cheching is deactivated.
You could have incompatible Addons.



Edited 1 time(s). Last edit at 01/06/2015 12:14PM by guenter.

Attachments: BlueHell.gif (79.1 KB)  
Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: siria
Date: January 06, 2015 12:44PM

@guenter, a question:
Quote
guenter
Check that kmeleon.install_firefox_extension is true.
In about:config Checkbox for that is on the bottom of Edit.
What happens if you turn that pref off?
Does bluhell still work without that installation pref, considering that installation was done a long time ago? Or does it still have an effect afterwards, contrary to FF?

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: guenter
Date: January 06, 2015 01:06PM

Quote
siria
@guenter, a question:
Quote
guenter
Check that kmeleon.install_firefox_extension is true.
In about:config Checkbox for that is on the bottom of Edit.
What happens if you turn that pref off?
Does bluhell still work without that installation pref, considering that installation was done a long time ago? Or does it still have an effect afterwards, contrary to FF?

1.) Turn off. You cannot install FF extensions. They are not for K-Meleon.
If You copy an extension to an install location - it does not work.

You must edit the install.rdf for that so that it includes K-Meleon in the compatible list or have that pref true so that K-Meleon caters for that automatically.

2.) I cannot switch off all so easily - I use a addon that prevents that the extensions check whether they are compatible or not.

After I uncheck kmeleon.install_firefox_extension and restart.

The ones in ./browser/extensions stay activated.
The ones in ./profiles/used profile/extensions disappear but are not automatically deleted.

3.) If I remember right they become incompatible and are partly deleted
(in used profile) if I switch off too much.

I do not care to test this again. smiling smiley



Edited 1 time(s). Last edit at 01/06/2015 01:14PM by guenter.

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: siria
Date: January 06, 2015 02:19PM

Thanks for answer. Interesting that it makes a difference now whether an extension is in program or in profile folder, that certainly is new! (to me)
But in general FF addons still seem incredibly complicated in KM. Yeah I know that's only beta, but hopefully some day that stuff will become much simpler.

Options: ReplyQuote
Re: adblockplus en K-Meleon74 versión RC2
Posted by: guenter
Date: January 08, 2015 01:23PM

I did test with 74.0. But it is not so easy with that either it seems.

http://kmeleonbrowser.org/forum/read.php?9,131513,131539#msg-131539

Options: ReplyQuote


K-Meleon forum is powered by Phorum.