Extensions :  K-Meleon Web Browser Forum
All about K-Meleon extensions. 
Pages: Previous1234Next
Current Page: 3 of 4
Re: Basic adblock
Posted by: JamesD
Date: December 30, 2015 12:31PM

Slickone

I think the official Adblock Plus may have more features than Dorian's basic adblock dll file. I prefer Dorian's dll because it is so much easier to install and use.

I suspect that if I used the same lists that you are using, then I would also have the problem with TV Guide.

I am working on another kmm module which will let users choose which subscription lists the dll will use. I have found the sites for Easylist and Fanboy. From your post, it sounds like you know of some other sites.

Could you post the URLs of the sites that I don't have? I have the following: "https://easylist.adblockplus.org"; and "https://secure.fanboy.co.nz";.

To be useful, the sites need to have the "VIEW LIST" link for each list.

I must use that because K-Meleon does not have the abp protocol natively and I don't know I would make it work, even if it did.

Options: ReplyQuote
Re: Basic adblock
Posted by: Slickone
Date: December 31, 2015 12:16AM

I only use easyprivacy+easylist, which is linked on this page:
https://adblockplus.org/en/subscriptions

The link to the sub is:
https://easylist-downloads.adblockplus.org/easyprivacy+easylist.txt

Options: ReplyQuote
Re: Basic adblock
Posted by: JamesD
Date: January 03, 2016 03:39PM

A small update to the basic adblock control.

Cleaned up a macro log error.
Changed the six images from separate images to a single image file.
Changed macro name from "dummy" to "basic_ab_Dummy" for safety from conflicts.

All previous image files other than "Basic_Adblock.png" are not needed with this version.

Attachments: adblock control 27.7z (9.6 KB)  
Options: ReplyQuote
Re: Basic adblock
Posted by: Dorian
Date: January 03, 2016 05:01PM

Quote
Slickone
For me, after updating with adblock76, the listing grid at tvguide.com is still missing with adblock enabled.

Log:
Block: http://d2wy8f7a9ursnm.cloudfront.net/bugsnag-2.min.js / Rule: /bugsnag-
Block: http://ox-d.cbs.servedbyopenx.com.tvgcdn.net/www/js/ads.js / Rule: /js/ads.
Block: http://d2wy8f7a9ursnm.cloudfront.net/bugsnag-2.min.js / Rule: /bugsnag-
Block: http://ox-d.cbs.servedbyopenx.com.tvgcdn.net/www/js/ads.js / Rule: /js/ads.
Block: http://js-agent.newrelic.com/nr-768.min.js / Rule: ||newrelic.com^$third-party

You sure you updated correctly? That's not what you should get.

Options: ReplyQuote
Re: Basic adblock
Posted by: Slickone
Date: January 03, 2016 06:20PM

Quote
Dorian
Quote
Slickone
For me, after updating with adblock76, the listing grid at tvguide.com is still missing with adblock enabled.

Log:
Block: http://d2wy8f7a9ursnm.cloudfront.net/bugsnag-2.min.js / Rule: /bugsnag-
Block: http://ox-d.cbs.servedbyopenx.com.tvgcdn.net/www/js/ads.js / Rule: /js/ads.
Block: http://d2wy8f7a9ursnm.cloudfront.net/bugsnag-2.min.js / Rule: /bugsnag-
Block: http://ox-d.cbs.servedbyopenx.com.tvgcdn.net/www/js/ads.js / Rule: /js/ads.
Block: http://js-agent.newrelic.com/nr-768.min.js / Rule: ||newrelic.com^$third-party

You sure you updated correctly? That's not what you should get.
Yes.

Options: ReplyQuote
Re: Basic adblock
Posted by: Slickone
Date: January 03, 2016 06:24PM

Quote
JamesD
A small update to the basic adblock control.

Cleaned up a macro log error.
Changed the six images from separate images to a single image file.
Changed macro name from "dummy" to "basic_ab_Dummy" for safety from conflicts.

All previous image files other than "Basic_Adblock.png" are not needed with this version.
Just to keep things clear, you might want to keep the name "adblock control xx.zip" as you had been (or adblock control plugin). "Adblock plugin" sounds like an adblocker.



Edited 1 time(s). Last edit at 01/03/2016 06:29PM by Slickone.

Options: ReplyQuote
Re: Basic adblock
Posted by: JamesD
Date: January 03, 2016 06:41PM

Quote
Slickone
Just to keep things clear, you might want to keep the name "adblock control xx.zip" as you had been (or adblock control plugin). "Adblock plugin" sounds like an adblocker.

You are right. I should not try to complete programming and talk on telephone at same time. I will try to fix that.

Options: ReplyQuote
Re: Basic adblock
Posted by: Slickone
Date: January 12, 2016 03:59AM

If I removed all bugsnag lines from the subscription file, would that fix my problem, without causing other problems?

Options: ReplyQuote
Re: Basic adblock
Posted by: JamesD
Date: January 12, 2016 07:21PM

Quote
Slickone
If I removed all bugsnag lines from the subscription file, would that fix my problem, without causing other problems?

It might work, but only until the next rules refresh. Then you would have to make that edit again.

Options: ReplyQuote
Re: Basic adblock
Posted by: Dorian
Date: January 12, 2016 09:00PM

I've updated adblock76 just in case.
It works for me with your subscriptions.

Options: ReplyQuote
Re: Basic adblock
Posted by: Slickone
Date: January 13, 2016 03:50AM

Quote
Dorian
I've updated adblock76 just in case.
It works for me with your subscriptions.
Is that in the first post of this thread? It (post) says last edit was 12/28/2015.

Options: ReplyQuote
Re: Basic adblock
Posted by: Dorian
Date: January 14, 2016 06:36PM

Yeah but the attachment was updated

Options: ReplyQuote
Re: Basic adblock
Posted by: Slickone
Date: January 15, 2016 05:35AM

It's still not working for me. adblock.dll dated 1/3.

Options: ReplyQuote
Re: Basic adblock
Posted by: Slickone
Date: March 17, 2016 02:41AM

My adblock stopped blocking. Any ideas why?

Edit: Rebooted and seems fine now. Not sure what happened.



Edited 1 time(s). Last edit at 03/17/2016 03:28AM by Slickone.

Options: ReplyQuote
Re: Basic adblock
Posted by: rodocop
Date: March 17, 2016 05:14AM

Seems like subscription was accidentally deleted. It restores on KM restart.

Options: ReplyQuote
Re: Basic adblock
Posted by: Hangar0
Date: May 12, 2016 07:28PM

Thank you great work
about:config
kmeleon.plugins.adblock.subscriptions
my favorite is
https://easylist-downloads.adblockplus.org/easyprivacy+easylist.txt|https://secure.fanboy.co.nz/fanboy-social.txt
which is better (new user) ... which are the best? :O

Options: ReplyQuote
Re: Basic adblock
Posted by: Michael Weiner
Date: July 03, 2016 07:30PM

Looks good except that each subscription is duplicated in adblock.txt.

Mike

Options: ReplyQuote
Re: Basic adblock
Posted by: rodocop
Date: July 03, 2016 07:36PM

Quote
Michael Weiner
Looks good except that each subscription is duplicated in adblock.txt.

Mike
They really aren't duplicated: they are downloaded and united in adblock.txt to be available to adblock k-plufin which doesn't work directly with ABP subscription files.

Options: ReplyQuote
Re: Basic adblock
Posted by: Chanson Yu
Date: July 09, 2016 01:12PM

Today I copied the basic adblock plugin from KM76b3u1 to KM76RC, and here are the settings:

pref("kmeleon.plugins.adblock.load", true);
pref("kmeleon.plugins.adblock.disabled", false);
pref("kmeleon.plugins.adblock.logging", false);
pref("kmeleon.plugins.adblock.subscriptions", "https://easylist-downloads.adblockplus.org/easylistchina.txt"winking smiley;

When the rules downloaded and basic adblock worked, try to open this site, KM crash on both XPSP3 and Win7!

________________________________________
K-Meleon zh-CN: http://pan.baidu.com/s/1o6NoHfG

Options: ReplyQuote
Re: Basic adblock
Posted by: rodocop
Date: July 09, 2016 01:28PM

Basic adblock has visible slowdown working in KM76RC.

I can't say is it native RC-effect or just particular subscription makes so.

It's slightly bigger than default subs used by Dorian. (5+Mb against 4+Mb).

It seems to be RC-effect, not sub.

Options: ReplyQuote
Re: Basic adblock
Posted by: Slickone
Date: July 30, 2016 03:26PM

It would be really helpful to some if the OP of this thread was cleaned up, or a new one created. How to install this might be 2nd nature to many of you, but to a newcomer, it would be very confusing. Some things to add/change are:

I think both adblock75.zip and then adblock76.zip have to be installed? Need to say that. And why can't they be combined?

Where to create the kplugins folder in your personal profile location if you want to install the adblock there instead of in KM's location. In KM's, kplugins is in the root. I created kplugins as a subfolder under my profile folder (C:\Users\me\AppData\Roaming\K-Meleon\abcxyz.default\kplugins).

How to create kmeleon.plugins.adblock.subscriptions.
Where to find subscriptions.

Put link to latest adblock control macro in OP.


(Jamesd)
How to install the adblock control macro. Remove links througout thread to older macro versions. I had a hard time recently trying to figure out which version to install (with a new install).

Options: ReplyQuote
Re: Basic adblock
Posted by: rodocop
Date: July 30, 2016 03:52PM

Slickone,
no-no-no-no-no! It shouldn't be cleaned from older versions as they may be useful for further development (for example I've used last 2 versions of ABPcontrol to produce my own macro for next Pro-builds).

I can help you though.

1) adblock75.dll should be used only with KM75 (75.1)
and
adblock76.dll - only with KM76
I think this is fairly transparent.

2) user profile folder structure is the same as rootfolder one.

3) for now subscription sources are hardcoded in dll themselves or can be changed by macro hardcoding (altering the macrocode with your URLs)

You can find a number of popular subscriptions here and there:
- https://adblockplus.org/en/subscriptions
- https://easylist.to/pages/other-supplementary-filter-lists-and-easylist-variants.html
- https://www.fanboy.co.nz/filters.html

(you need links leading directly to txt-files not 'abp:subscribe'-links)

4) kmeleon.plugins.adblock.subscriptions pref is created automatically and filled according to hardcoded settings of kplugin or macro.
You can alter the value of this pref manually for sure, but if you'll use ABP BAB (Basic AdBlock) control macro, it will replace your subs URLs with hardcoded once as soon as it defined by macro variables/settings.

5) the latest version of ABP BAB control macro is this one



Edited 3 time(s). Last edit at 07/31/2016 02:08AM by rodocop.

Options: ReplyQuote
Re: Basic adblock
Posted by: siria
Date: July 30, 2016 09:49PM

[_check_ adblock BAB howto see above] .

I fully understand it's confusing. The most important thing that most people aren't even aware of is that there are actually _3_ different adblock extensions for KM now! And all three completely independant of each other. And all that adblock-talk sounds so similar, it keeps one constantly on the toes - hm ok, which one exactly are we talking about at the moment??
Yes it would make a lot of sense to put an up-to-date summary in the beginning of the thread. Or in post-2 would be good enough too smiling smiley
There are already lots of great explanations around, just too shattered around.

Quote
rodocop
You can alter the value of this pref manually for sure, but if you'll use ABP control macro, it will replace your subs URLs with hardcoded once as soon as it defined by macro variables/settings.
5) the latest version of ABP control macro is this one

Exactly what I mean: "ABP" is the well-known Adblock Plus Addon, not the BasicAdblock from KM7X. Those 3 different adblocks are so mixed upthat even we as regulars here keep confusing their names and that misleads readers again.
(Frankly, that hardcoded-URL-sub stuff is now confusing myself too, at least without looking it up first and researching the macro contents, LOL!)



Edited 1 time(s). Last edit at 01/13/2018 11:21PM by siria.

Options: ReplyQuote
Re: Basic adblock
Posted by: rodocop
Date: July 31, 2016 02:09AM

siria,
you are right as always. Have edited my post.

Options: ReplyQuote
Re: Basic adblock
Posted by: mhal
Date: September 07, 2016 07:20PM

@Rodocop

Hi, I use K-meleon 76RC and downloaded and installed Basic Adblock Control as you advised.

I put the files in the correct folders and restarted.

Upon restart I was told between "4000 and 4600KB of data" had to be downloaded.

I had no choice but to comply.

I understand "Basic Adblock Control" contain "easy-list" and "fanboy-list".

MK-meleon seems to have slowed down, youtube still displays annoying ads and there doesn't seem to be any improvement whatsoever compared to how it was before installation of "Basic Adblock Control".

I want to uninstall it COMPLETELY.

Can you advise me to how to uninstall ALL FILES, also those files I was forced to download, between "4000 and 4600KB"?


Regards,

Mike

P.s. I have an account on kmeleonbrowser forum but I forgot pw. Is there a way to contact a webmaster to reset or delete account so I can register anew?

Options: ReplyQuote
Re: Basic adblock
Posted by: siria
Date: September 07, 2016 08:39PM

Quote
mhal
Upon restart I was told between "4000 and 4600KB of data" had to be downloaded. I had no choice but to comply.

I understand you just want to get rid of it, but am confused. Just looked inside the latest kmm-macro file, version 2.7 as posted above by rodocop. This "4000k-question" is not just an infoline, but clearly a "confirm" command that asks for yes or no. Are you really sure you had no choice? Perhaps clicked "No" and forgot it again, and that would explain why it doesn't do "anything"...? Aside from 1 of the 2 lists being a french version by default :cool:

PS: if you want to know what it downloads exactly or to change the default paths, just open the kmm-file with notepad and search for "4000". Just a bit below are the download links. 2 txt-files, seems like they go into the profile folder (Edit/Config./Profile Directory)
The macro also uses some prefs which could be checked in about:config

By the way the paths and prefs and files are listed in the beginning of the kmm-file!



Edited 1 time(s). Last edit at 09/07/2016 08:41PM by siria.

Options: ReplyQuote
Re: Basic adblock
Posted by: rodocop
Date: September 08, 2016 10:33PM

mhal,
yes, I also noticed that 76RC has some real slowdown with basic adblock (this can be the reason of its absence in official package made by Dorian).

To remove BAB just delete adblock.dll from kplugins folder and also all files (not folders) with names started with 'adblock' in your profile folder.



Edited 1 time(s). Last edit at 09/08/2016 10:33PM by rodocop.

Options: ReplyQuote
Re: Basic adblock
Posted by: rodocop
Date: February 23, 2018 11:54PM

Testing Basic adblock in Goanna.

1) Adblock kplugin doesn't work by default even if loaded (kmeleon.plugins.adblock.load;true)
It needs macro installed to start working. (some pref should be defined - I think it's kmeleon.plugins.adblock.subscriptions)

2) Adblock loaded with subscription still (like in KM 76) leads to big delay in browser start (with high CPU load this time).
Delay depends on adblock.txt (used rules file) size.

This wasn't an issue in 75 (with its corresponding version of kplugin)

Look - on my Core2Duo with T5800 CPU they start at:
KM 75/76 without adblock kplugin - < 1 sec
KM 75 with adblock kplugin - ~4 sec
KM 76 with adblock kplugin - ~15 (!!!) sec

(n-3 sec) of this time (1 sec for 75, ~12 sec for 76) KM loads CPU for 50% (100% of one core).

Sure this kplugin at the moment cannot be a recommended option for really old and low-end hardware.

Please, Dorian or roytam, check the problem and fix it if possible!



Edited 1 time(s). Last edit at 02/24/2018 12:30AM by rodocop.

Options: ReplyQuote
Re: Basic adblock
Posted by: hermes
Date: February 24, 2018 01:11PM

If you use a self-written rules (or reasonably filtered) subscription, the launch time does not change. My recommendation: was always never to use subscriptions (and especially their automatic updating). This is an excellent plugin that is constantly used the last three years in parallel (ie at the same time!) with the "regular" AdblockPlus. And they do not brake. On the contrary smiling smiley speed up the work. The set of rules never exceeded even a total of 100 KB (mostly about 50 Kcool smiley.
...
A good recommendation for owners of a huge set of rules: enable logging, with brakes, follow your resources (if you have enough patience better with a week). Then filter and keep only the rules that were triggered, and then delete all the rest. You will see that there are more than 90% you have never needed. Ideally, the next write its own rules and the problem would never return. It's easier than it looks.

I often use KM on an old netbook with a single-core 1.6 GHz Intel Atom processor (there is only 1 GB of RAM, with 128 MB allocated for a RAM disk for KM!) And with these two Adblock modules the start is lightning fast. And taking into account the memory optimization module, the average memory consumption never goes over normally to 150 MB (and I open up to ~ 15 tabs).
...
It's not about the module, it's about the strategy of using it. It is strictly not recommended to pump it with the rules.



Edited 4 time(s). Last edit at 02/24/2018 01:25PM by hermes.

Options: ReplyQuote
Re: Basic adblock
Posted by: rodocop
Date: February 24, 2018 08:07PM

well,

I agreed with all you said, comrade, BUT

1) if we want KM to live long - we should attract more power users and developers

2) devs are interested only in widely known products

3) so we should deliver KM to mass market and KM should be attractive for inexperienced users (none of them is supposed to filter its subscriptions even in ABP with GUI - and sure they wouldn't do it here in text files, sorry)

4) we should make things as friendly as we can.

KM still stays very 'geek' browser, and one of the most usual feedbacks from novices and those who just try K-Meleon is like this: 'unfamiliar, strange, uncomfortable' and even 'ugly'

There are a very few things though which should be fixed or improved to make K-Meleon way more attractive:
- toolbars handling
- zoom handling
- settings visualization (for example, menus and accels visual reference for user to understand what he can tweak and WHERE!)
- basic adblock is one of these tools as when optimized and preconfigured also with preinstalled control GUI it can be great argument in favour of our browser.

So all this is a point for other big discussion, but here I speak only about subj.

KM 75 shows that it CAN work better even with full subscriptions. It would be great just to match it perfomance in KM 76 with 75 reference.



Edited 2 time(s). Last edit at 02/24/2018 08:10PM by rodocop.

Options: ReplyQuote
Pages: Previous1234Next
Current Page: 3 of 4


K-Meleon forum is powered by Phorum.