Page 1 of 2

suggestions

Posted: Tue Jun 09, 2015 7:49 pm
by ejonesss
several items that would be nice

1. block inline javascripts (some sites use inline javascripts to detect adblock)

2. block animated gifs by detecting that the file is animated.

the file in question is styles/prosilver/imageset/topic_unread_hot.gif so if there was a way to block that that would be nice.

i add the rule and it does not work.

or if you can revert back to http instead of https i can use glimmerblocker witch sets up a local proxy that modifies the html before it is displayed.

yes i know then your site can be blocked by governments and such ok then maybe make all the image resources http and the forum content https

Re: suggestions:

Posted: Wed Jun 10, 2015 12:28 pm
by lewisje
1. I know uBlock does this with a syntax extension called $inline-script and maybe ABP will take up that approach.

2. To detect that a file is animated, you'd need to start downloading the file already, and ABP does not block files based on their content, only URL patterns and the context in which the requests were made; it's probably out of scope to have this extension somehow inspect binary responses for the "magic numbers" that identify the filetypes (for example, all animated GIFs start with GIF89a when you open them in a hex editor), but maybe there's another extension out there that detects and blocks animated GIFs that way.

For that particular file, the following custom filter should work: /styles/prosilver/imageset/topic_unread_hot.gif$image

Also, I highly doubt that ABP will add an option to force unencrypted HTTP, not least because many sites have now moved to require TLS (for example, Google, Bing, and DuckDuckGo) and it would fight with HTTPS Everywhere; making just the sub-resources HTTP is also unwise, because browsers now tend to block such "mixed content."

Although this won't help for your specific case (where the resources to block are on the same domain as the forum that you're accessing over HTTPS), I know that Privoxy (a cross-platform competitor to GlimmerBlocker) is able to apply hostname-based filtering rules even on HTTPS pages: http://www.privoxy.org/faq/misc.html#AEN909
(I was hoping either of those programs would allow you to use a self-signed TLS certificate to MITM all HTTPS pages, but it doesn't look like they do; I know the Proxomitron does something like that, with a certificate updated annually by the person hosting the project, but that's Windows-only and hasn't been updated in 11 years.)

Re: suggestions:

Posted: Wed Jun 10, 2015 7:16 pm
by ejonesss
no bot abp can maybe insert javascript or be upgraded to insert javascript code like glimmerblocker does and i remember seeing a javascript somewhere that can read a gif file and detect if it is animated.

i am not asking abp extension to force http i am suggesting the admin of the forum to make the forums in http only or the image resources

Re: suggestions:

Posted: Sat Jun 13, 2015 9:49 am
by lewisje
ejonesss wrote:i am not asking abp extension to force http i am suggesting the admin of the forum to make the forums in http only or the image resources
Mixed content (HTTP resources served from an HTTPS page) is a good way to make a site break in most browsers, and now that I know you're talking about bringing this forum back to unencrypted HTTP, I just had to laugh at that idea too.

Also, I suspect that it would be out of scope for ABP to insert JS to deal with certain types of content; however, a similar idea has been tried in NoScript (called "surrogate scripts") and there are always UserScripts (like Reek's Anti-Adblock Killer, meant to be used alongside an ABP subscription).

Re: suggestions

Posted: Sat Jun 13, 2015 3:19 pm
by ejonesss
ok then do you know of any local proxy extensions like charles (http://www.charlesproxy.com/) that is free?

charles acts like a man in the middle and decrypts then allows the unencrypted page to the browser .

but if placed before glimmerblocker then it would allow blocking of the content on an https site.

i tried it but it's $50 price is quite a bit.

Re: suggestions

Posted: Mon Jun 15, 2015 10:21 am
by lewisje
ejonesss wrote:ok then do you know of any local proxy extensions like charles (http://www.charlesproxy.com/) that is free?
If I did, I would have posted one earlier; the closest things I know about are Privoxy (which doesn't MITM) and the Proxomitron (which can MITM but is Windows-only).

With that said, are you sure that the custom rule ||adblockplus.org/forum/styles/prosilver/imageset/topic_unread_hot.gif$image wouldn't work for your specific use-case?

Re: suggestions

Posted: Sat Aug 15, 2015 10:38 pm
by ejonesss
i tried the rule ||adblockplus.org/forum/styles/prosilver/imageset/topic_unread_hot.gif$image and the image still renders on the page.

maybe in your next version you could add code to block all gif files

also it seems to be a stylesheet thing because if i disable styles then the image goes away

i am seeing more pages going https so glimmerblocker is becoming useless so please for the love of god please add something to block animated gif or even gif file

Re: suggestions

Posted: Sun Aug 16, 2015 2:48 am
by lewisje
ejonesss wrote:i tried the rule ||adblockplus.org/forum/styles/prosilver/imageset/topic_unread_hot.gif$image and the image still renders on the page.
Maybe the network request wasn't detected as an "image" by your browser's API, so you could try a more general rule: ||adblockplus.org/forum/styles/prosilver/imageset/topic_unread_hot.gif

Re: suggestions

Posted: Sun Aug 16, 2015 5:01 pm
by ejonesss
lewisje wrote:
ejonesss wrote:i tried the rule ||adblockplus.org/forum/styles/prosilver/imageset/topic_unread_hot.gif$image and the image still renders on the page.
Maybe the network request wasn't detected as an "image" by your browser's API, so you could try a more general rule: ||adblockplus.org/forum/styles/prosilver/imageset/topic_unread_hot.gif

i tried that too

you are not the only forum https://endless-sphere.com/forums/viewforum.php?f=31 is doing that too

the image that is animating is next to the topic jp welder

is there a way to have adblock block based on the path or part of the path say for example look for the word "prosilver" in the url or even have it change the url so for example change gif to png so it will result in a 404 not found error?

also does if the site sends the data as base64 encoded cause adblock not to block it?

google uses base64 encoding but i think only for the maps.google.com site witch there is no reason to block so i have not tried to see if adblock blocks that.

Re: suggestions

Posted: Sun Aug 16, 2015 5:35 pm
by mapx
try

Code: Select all

||adblockplus.org/forum/styles/prosilver/imageset/forum_unread.gif

Re: suggestions

Posted: Sun Aug 16, 2015 5:46 pm
by ejonesss
another suggestions that would be nice is changelog be added to the download page some of us mainly me leary about downloading something new as it can break something else.

especially if the bugs fixed does not apply to me.

Re: suggestions

Posted: Mon Aug 17, 2015 2:20 am
by ejonesss
update:

i found a solution though a bit clunky.

charles http://www.charlesproxy.com/ it is a proxy that will decrypt https traffic for debugging.

charles then has an option to remap remote urls so i just remapped the hot post gif files to 127.0.0.1 so now the images spaces show up blank

also at $50+ a pop for license it is not the best solution

Re: suggestions

Posted: Mon Aug 17, 2015 9:07 am
by mapx
@ejoness, you don't read what are posting the others ?
see
forum/viewtopic.php?p=136804#p136804

for the other forum

Code: Select all

||endless-sphere.com/forums/images/icons/misc/fire.gif
||endless-sphere.com/forums/styles/prosilver/imageset/topic_read_hot.gif

Re: suggestions

Posted: Wed Aug 19, 2015 1:03 am
by ejonesss
yes i did but i could not get the filter to remove the animated gifs.

i even tried on another machine to make sure it was not a corrupt filter database

Re: suggestions

Posted: Wed Aug 19, 2015 8:22 am
by mapx
it's working fine here. So, just reset your browser and reinstall ABP. Test again. Don't use other stuff (charles, other)