maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] adflashblock-css (https://talk.maemo.org/showthread.php?t=43753)

zerojay 2010-02-08 11:30

[Announce] adflashblock-css
 
Hi everyone.

I'm proud to announce adflashblock-css's release to extras-devel. A lot of people have used my last package, Adblock Plus, and some have had very mixed results due to the way microb works with extensions. I decided to go another route and to provide ad blocking through CSS which should be a lot less... random.

I also added a form of flashblock, also done through CSS. When a flash animation is loaded on a page, it will be replaced with a grey square telling you that it's flash and if you click, the flash animation will be loaded and played.

The installation will take effect after you close all open browser windows.

Enjoy, I hope.

EDIT: Just promoted to extras-testing. Give it a shot.

raily 2010-02-08 11:51

Re: [Announce] adflashblock-css
 
Nice to hear sth. new from the adblock frontier. I was one of the unsuccessful installers of adblock plus and appreciate a new adblock development.
Does addflashblock also work with the same blocking lists as adblock or do its list still need to be written?
Do you think it is quite save to try it now for normal use or would you suggest use only for programmers?

zerojay 2010-02-08 11:52

Re: [Announce] adflashblock-css
 
Quote:

Originally Posted by raily (Post 516032)
Nice to hear sth. new from the adblock frontier. I was one of the unsuccessful installers of adblock plus and appreciate a new adblock development.
Does addflashblock also work with the same blocking lists as adblock or do its list still need to be written?
Do you think it is quite save to try it now for normal use or would you suggest use only for programmers?

It doesn't use any adblock blocking lists at all, so it's probably not as comprehensive as it could be, but at least it should work for one and all without any issues. At a later date, I might add host-based blocking to this package as well.

It's perfectly safe for anyone to use.

raily 2010-02-08 12:00

Re: [Announce] adflashblock-css
 
ok, and how do I block ads? you explained how it works with flash content, e.g. you have to allow the flash to run manually (assume it remembers the selection). But how to block google-ads (text based) and images?

zerojay 2010-02-08 12:08

Re: [Announce] adflashblock-css
 
Quote:

Originally Posted by raily (Post 516051)
ok, and how do I block ads? you explained how it works with flash content, e.g. you have to allow the flash to run manually (assume it remembers the selection). But how to block google-ads (text based) and images?

Just install the package and those should all pretty much go away.

raily 2010-02-08 12:54

Re: [Announce] adflashblock-css
 
I installed it and it blocks flash on youtube and when I click it, it plays.

But when I visit www.spon.de nothing is blocked and this site is overloladed with ads. Do you see what I mean? Can you add functionality to manually block those ads?

zerojay 2010-02-08 13:14

Re: [Announce] adflashblock-css
 
You can edit the userContent.css file yourself to block those. You can find it at /home/user/.mozilla/microb/chrome/userContent.css. Once you find some formulas that block them, send them over to me and I'll add it in an update for the package.

Also, if/when I get around to adding hosts-based blocking on top of the CSS, it should be a lot better.

I'll be putting out another update tonight that incorporates a lot more rules into the CSS file which should block a lot more ads. Hopefully enough to not need hosts-based blocking... I just hope it's not too much and microb starts slowing down.

rooted 2010-02-08 17:23

Re: [Announce] adflashblock-css
 
Does adflashblock-css prevent ads from loading (thus saving your monthly bandwidth) or does just not display them?

zerojay 2010-02-08 17:46

Re: [Announce] adflashblock-css
 
Quote:

Originally Posted by rooted (Post 516523)
Does adflashblock-css prevent ads from loading (thus saving your monthly bandwidth) or does just not display them?

I believe flash isn't downloaded until you click on the video to unblock it. As for the rest, CSS is just hiding them.. though when I get around to adding hosts-based blocking to this as well, it should keep most ads from being downloaded at all.

zerojay 2010-02-09 15:31

Re: [Announce] adflashblock-css
 
So has anyone else out there tried it? Is it working for you? Ideas?

Erebo 2010-02-09 15:45

Re: [Announce] adflashblock-css
 
Quote:

Originally Posted by zerojay (Post 517833)
So has anyone else out there tried it? Is it working for you? Ideas?

is working good for flash content, however many ads still showing up, an "block" option over the ads would be nice like "adblock plus", thanks BTW
:D

Bratag 2010-02-09 15:51

Re: [Announce] adflashblock-css
 
Works quite well. It even blocks the pandora player :)

ivnvir 2010-02-09 16:37

Re: [Announce] adflashblock-css
 
Works well :)

Mine shows only text, no play button or so, but that's ok.

That's why iPhone will always win: iPhone already has a flashblock, you don`t need to install it :rolleyes:

zerojay 2010-02-09 17:00

Re: [Announce] adflashblock-css
 
Quote:

Originally Posted by Erebo (Post 517855)
is working good for flash content, however many ads still showing up, an "block" option over the ads would be nice like "adblock plus", thanks BTW
:D

I'll be adding many more filters in an update probably tonight. Along with hosts blocking, most ads should die a horrible death. :)

Bratag 2010-02-09 17:38

Re: [Announce] adflashblock-css
 
Quote:

Originally Posted by zerojay (Post 517960)
I'll be adding many more filters in an update probably tonight. Along with hosts blocking, most ads should die a horrible death. :)

Muhahhahahaha *lightning/thunder* wuhahahaha

zerojay 2010-02-09 17:56

Re: [Announce] adflashblock-css
 
You know what? I planned on updating when I got home from work tonight, but I realized that I've got an N900 in my hands... and what a nice powerful piece of equipment it is. I just made the (quite major) update on my lunch break and uploaded to the autobuilder a few minutes ago, all done on my N900. :)

Bundyo 2010-02-09 18:33

Re: [Announce] adflashblock-css
 
At least the flash click to play works :) Didn't notice the rest.

zerojay 2010-02-09 18:34

Re: [Announce] adflashblock-css
 
Quote:

Originally Posted by Bundyo (Post 518085)
At least the flash click to play works :) Didn't notice the rest.

I was using a combination with hosts blocking, but with this update I disabled my hosts blocking and it sure is doing a good job... kills off ads everywhere I've been so far. Check out a site like pwtorch.com which has a ton of ads all over it for comparison.

Bratag 2010-02-09 18:47

Re: [Announce] adflashblock-css
 
Quote:

Originally Posted by zerojay (Post 518088)
I was using a combination with hosts blocking, but with this update I disabled my hosts blocking and it sure is doing a good job... kills off ads everywhere I've been so far. Check out a site like pwtorch.com which has a ton of ads all over it for comparison.

Working very well, has blocked pretty much every add/flash I have come across so far.

raily 2010-02-09 19:00

Re: [Announce] adflashblock-css
 
the ads on www.spon.de are blocked now too, but the header is gone also :(

zerojay 2010-02-09 19:08

Re: [Announce] adflashblock-css
 
Quote:

Originally Posted by raily (Post 518127)
the ads on www.spon.de are blocked now too, but the header is gone also :(

Can you get me a screenshot? It looks perfect here.

raily 2010-02-09 19:39

Re: [Announce] adflashblock-css
 
here it is: http://flickr.com/gp/47243093@N05/B7Z4nj

you have to wait until the page is fully loaded, then the read header disappears and you get what you see on the screenshot.

zerojay 2010-02-09 20:38

Re: [Announce] adflashblock-css
 
Quote:

Originally Posted by raily (Post 518167)
here it is: http://flickr.com/gp/47243093@N05/B7Z4nj

you have to wait until the page is fully loaded, then the read header disappears and you get what you see on the screenshot.

I think I've got a fix for it in the upcoming version, 1.0.0-4. Give it a shot when it's ready in a few minutes and let me know how it goes.

raily 2010-02-09 20:51

Re: [Announce] adflashblock-css
 
I definitely will, but it would be nice if you could announce a new release here when it is in extras-devel, because I activate it only temporarily for downloading your program.

zerojay 2010-02-09 20:52

Re: [Announce] adflashblock-css
 
Quote:

Originally Posted by raily (Post 518290)
I definitely will, but it would be nice if you could announce a new release here when it is in extras-devel, because I activate it only temporarily for downloading your program.

Well, I've announced it when I put it into the autobuilder and it came out the other side. Should be less than an hour after I post at most.

zerojay 2010-02-10 16:34

Re: [Announce] adflashblock-css
 
I've just promoted adflashblock-css to Extras-Testing. Let me know what you think if you try it out... and if you see anything that looks wrong like a false positive or an ad that slipped through, let me know and I'll try to get it killed.

razialo 2010-02-11 18:58

Re: [Announce] adflashblock-css
 
it is very noce tool , so thank you
it has blocked very good , just perfect for some x-rated contend =)))
but ... on youtube i havenīt seen that thing, i must click on , so it turnes it on ... how can i disable it for some sites ???
it would be realy nice if i could manage some rules , so some sites will nior be blocked ... =)))

speednut 2010-02-11 19:16

Re: [Announce] adflashblock-css
 
zerojay, thanks for your hard work on this project!

Forgive me for asking what may be a stupid question, but what will adflashblock-css do that is different than periodically updating my /etc/hosts file with localhost data from here? (other than the obvious that modifying the /etc/hosts files is not for a UNIX neophyte.)

zerojay 2010-02-11 19:22

Re: [Announce] adflashblock-css
 
Quote:

Originally Posted by speednut (Post 521713)
zerojay, thanks for your hard work on this project!

Forgive me for asking what may be a stupid question, but what will adflashblock-css do that is different than periodically updating my /etc/hosts file with localhost data from here? (other than the obvious that modifying the /etc/hosts files is not for a UNIX neophyte.)

It doesn't really do anything for you except flashblock then. It's meant to be more for people who don't want to deal with setting that up. I was planning on integrating it as well, but at this point, it's working so well alone that I don't even need it.

zerojay 2010-02-11 19:23

Re: [Announce] adflashblock-css
 
Quote:

Originally Posted by razialo (Post 521679)
it is very noce tool , so thank you
it has blocked very good , just perfect for some x-rated contend =)))
but ... on youtube i havenīt seen that thing, i must click on , so it turnes it on ... how can i disable it for some sites ???
it would be realy nice if i could manage some rules , so some sites will nior be blocked ... =)))

Give me sites you would like to see whitelisted aside from youtube... either here or if they are of a... ahem... personal nature, send me a PM with the links and I'll see what I can do.

razialo 2010-02-11 20:01

Re: [Announce] adflashblock-css
 
Quote:

Originally Posted by zerojay (Post 521730)
Give me sites you would like to see whitelisted aside from youtube... either here or if they are of a... ahem... personal nature, send me a PM with the links and I'll see what I can do.

em i just reinstalled it , and now on youtube i see the field, so i can turn on youtube videos now.
but i wiold be realy nice if youtube would be on the white list.
youtube.com
veoh.com
animefreak.tv
schuelervz.net
vimeo.com
dropbox.com
chilloutzone.to


the, em x rated sites , i just tested worked nice , too . By the way there is so many advertisments , that are blocked. Thats a nice sing. And the videos i cant turn on manualy , thats ok.

jkq 2010-02-11 20:49

Re: [Announce] adflashblock-css
 
1 Attachment(s)
Quote:

Originally Posted by zerojay (Post 517833)
So has anyone else out there tried it? Is it working for you? Ideas?

I think it ate some non-ad pictures for me on the forums here, using the "Classic Light" skin.

The circled image below seems to have disappeared on my N900. I can post a N900 screenshot later, if needed.

I'm using 1.0.0-4 right now.

-jkq

YoDude 2010-02-11 20:59

Re: [Announce] adflashblock-css
 
ZJ, I have been using a custom UserContent.css file for sometime now and get most of my ad block content from Floppy Moose
I have also added many mods for text & image size for some of my more frequently visited sites. I was going to produce a tutorial for others to follow that would have had to include root privileges, directory creation, and file editing instructions... not a small task. :eek:

Am I right in my understanding that your package automagically creates a "chrome" directory and UserContent.css file?

If so, would it be difficult to add access to the css file so that other mods can be added to that file?

Perhaps something similar to what HideUserAgent does...

zerojay 2010-02-11 21:16

Re: [Announce] adflashblock-css
 
Quote:

Originally Posted by YoDude (Post 521906)
ZJ, I have been using a custom UserContent.css file for sometime now and get most of my ad block content from Floppy Moose
I have also added many mods for text & image size for some of my more frequently visited sites. I was going to produce a tutorial for others to follow that would have had to include root privileges, directory creation, and file editing instructions... not a small task. :eek:

Am I right in my understanding that your package automagically creates a "chrome" directory and UserContent.css file?

If so, would it be difficult to add access to the css file so that other mods can be added to that file?

Perhaps something similar to what HideUserAgent does...

The userContent.css file included in my package is based upon someone's edited version which ads a TON more things to the block list. I can't remember the name off the top of my head, but basically that version was based on the original at floopy moose anyways. I've also added a few custom ones.

Yes, it creates the chrome directory in the right place and installs the file. There's absolutely nothing stopping you from adding whatever you want to it after the install. If there's any other mods you wanna add to it, let me know because they might be useful for everyone (much like the flashblock I added already).

You can base your tutorial idea upon my package if you'd like... and maybe make mods available as add-ons for my original package. I haven't checked into HideUserAgent.

zerojay 2010-02-11 22:58

Re: [Announce] adflashblock-css
 
Quote:

Originally Posted by jkq (Post 521887)
I think it ate some non-ad pictures for me on the forums here, using the "Classic Light" skin.

The circled image below seems to have disappeared on my N900. I can post a N900 screenshot later, if needed.

I'm using 1.0.0-4 right now.

-jkq

Probably being blocked because of their size. I'll see what I can do to add a fliter for maemo.

YoDude 2010-02-11 23:59

Re: [Announce] adflashblock-css
 
Quote:

Originally Posted by zerojay (Post 521927)
The userContent.css file included in my package is based upon someone's edited version which ads a TON more things to the block list. I can't remember the name off the top of my head, but basically that version was based on the original at floopy moose anyways. I've also added a few custom ones.

Yes, it creates the chrome directory in the right place and installs the file. There's absolutely nothing stopping you from adding whatever you want to it after the install. If there's any other mods you wanna add to it, let me know because they might be useful for everyone (much like the flashblock I added already).

You can base your tutorial idea upon my package if you'd like... and maybe make mods available as add-ons for my original package. I haven't checked into HideUserAgent.

Then it should install over my existing chrome directory and css file without pronlems then; or should I remove them first?

zerojay 2010-02-12 03:12

Re: [Announce] adflashblock-css
 
Quote:

Originally Posted by YoDude (Post 522176)
Then it should install over my existing chrome directory and css file without pronlems then; or should I remove them first?

Actually, test it out and let me know if it works without removing your own first.

pillar 2010-02-12 08:17

Re: [Announce] adflashblock-css
 
This is very nice, but for the times that it blocks unnecessary content, it would be nice to have "show all blocked content on this page" option somewhere. Not sure if it's easily done though.

jaysire 2010-02-12 13:39

Re: [Announce] adflashblock-css
 
Quote:

Originally Posted by zerojay (Post 522078)
Probably being blocked because of their size. I'll see what I can do to add a fliter for maemo.

Why would your filter automatically block icon-size images? No ads are icon-size, are they?

jaysire 2010-02-12 13:43

Re: [Announce] adflashblock-css
 
Thanks for this! I could swear most websites are like 30% snappier now (and in fact the entire N900). I am thinking maybe flash is left on in the background, taking resources, even if I don't have a flash-enabled site open at a specific moment, because it feels like the entire experience is much snappier. I don't care so much about removing ads, but making Flash selectable on a per-swf-basis is absolute gold.

I realize this might be a placebo-effect, but everything has been good since I installed this filter. My battery even lasted a log longer. It might also be because almost every site I visit has some flash ad somewhere... I mostly read news on the N900 and what news site doesn't have flash banners these days?

What I'm not immediately clear about is how this works. How can you, using only css, "sniff" out swf:s that are included with swfobject.js, which is the "correct" way to include flash on websites these days? I guess I could just look at the app itself, but I haven't had the time.


All times are GMT. The time now is 01:22.

vBulletin® Version 3.8.8