maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Ask and Ye Shall Receive: Adblock Plus (sort of!) (https://talk.maemo.org/showthread.php?t=7865)

aleksandyr 2007-07-18 18:14

Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
1 Attachment(s)
Following the extension guide as best I could, here's Adblock Plus.

It installs (tested via dpkg -i as I assume it won't work in application manager) and creates an Adblock plugin entry. I don't have N800-compatible web access here, so I can't test it personally.

The extension conversion process looks painless, but I can't figure out how to get extension UIs up...

frethop 2007-07-18 18:36

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
Many thanks, aleksandyr!

Report: Downloads and installs fine using "dpkg -i" However, ads still show (e.g., on the ITT home page). I presume this is because the advertisement database is empty. I can't seem to find where to adblock an advertisement, either. Or how to populate the database any other way.

-F

paulrb02 2007-07-18 18:38

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
It installs just fine, and shows up in the plugins menu, but ads are still showing. I think it needs a list to tell it which ads not to show. maybe porting Adblock Filterset.G Updater will do the trick.

Also I just want to say Thank You for doing this.

Rocketman 2007-07-18 18:54

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
I believe the new browser does not support XUL for performance reasons. Among other things, this makes it impossible for extensions to modify the browser UI. This may make it impossible for things like plugin settings windows. Assuming the plugin doesn't require any user interaction after initial setup to do its thing, you might be about to edit any extension setup variable in a text editor.

As an aside, the plugin that I would kill for (but which I doubt would work) is flashblock. Currently, a lot of flash crashes the browser, using the new flash 9 plugin. Browsing the web with flash turned on atm is like playing russian rouletete. There needs to be some facility for selectively whitelist sites.

aleksandyr 2007-07-18 19:08

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
True, but even without XUL, it's probably possible to copy a working Adblock configuration in and get ad blocking.

Once I can actually -test- this, I intend to play with it and get it working --- I could not resist posting a teaser, though :)

Milhouse 2007-07-18 19:23

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
Excellent work Aleksandyr! Any chance of packaging Flashblock? :)

aleksandyr 2007-07-18 19:27

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
Sure. I'll rig it up momentarily --- I've automated the process abit.

zerojay 2007-07-18 19:47

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
Quote:

Originally Posted by Rocketman (Post 61076)
As an aside, the plugin that I would kill for (but which I doubt would work) is flashblock. Currently, a lot of flash crashes the browser, using the new flash 9 plugin. Browsing the web with flash turned on atm is like playing russian rouletete. There needs to be some facility for selectively whitelist sites.

Weird, I've yet to see a single crash with flash always on in microb or Opera.

Rocketman 2007-07-18 20:12

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
Try going to escapepod.org, wait for it to completely load and then try scrolling down so that the flash embedded object comes into view. Instant browser poof accompanied by error message. Turn off flash plugin, go to same site and it loads and works fine without issue. I have found a number of other sites where this behaviour is reproduce able for me 100% of the time.

Please try this for yourself and report back.

Toontje 2007-07-18 20:48

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
Quote:

Originally Posted by Milhouse (Post 61095)
Excellent work Aleksandyr! Any chance of packaging Flashblock? :)

If Flashblock is for blocking Flash, why don't you just disable it in the plug-in section of the browser?
Or am i saying something stupid now?

Ton.

Milhouse 2007-07-18 21:21

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
Quote:

Originally Posted by Toontje (Post 61136)
If Flashblock is for blocking Flash, why don't you just disable it in the plug-in section of the browser?
Or am i saying something stupid now?

Ton.

Flashblock will block (disable) Flash by default (so no more adverts) but allow Flash on sites where I actually want to view Flash (ie. youtube).

You basically create a "white list" of sites where Flash is permitted. It's the best extension for Firefox on the desktop IMHO! :) On the N800 it will be awesome as you won't be wasting cpu cycles (and thus battery) displaying Flash adverts you never really look at, but youtube will be unaffected (once it's added to the white list).

aleksandyr 2007-07-18 21:22

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
Toontje, Flashblock (I'm guessing!) allows for selective blocking of flash on certain sites, instead of having to manually toggle flash on/off.

Texrat 2007-07-18 21:24

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
Quote:

Originally Posted by zerojay (Post 61103)
Weird, I've yet to see a single crash with flash always on in microb or Opera.

Opera blew up on me when I tried to run linerider.

Milhouse 2007-07-18 21:33

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
I wonder if it will be possible to fix bug #1006 with an extension? My idea would be a whitelist that prevents the backlight from kicking in.

Toontje 2007-07-18 22:06

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
Quote:

Originally Posted by Texrat (Post 61160)
Opera blew up on me when I tried to run linerider.

Linerider worked fine for me. Well, the drawing did. The Dude just ran across the track in SLOOOOOW motion. But Opera didn't crash.

Ton.

Rocketman 2007-07-18 23:13

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
Flashblock lets you selectively block flash. It puts a placeholder in place of the actual object and doesn't load the object until you click on it. It also lets you whitelist certain objects/sites so that they load automatically. It lets you avoid a lot of adds and other unneeded annoyances, making better use of your available bandwidth, without needing to constantly disable/enable the flash plugin.

paulrb02 2007-07-19 13:28

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
Anything that stops adds from slowing my tablet down sounds good to me.

Also I think https://addons.mozilla.org/en-US/firefox/addon/1136 Would be good to add to this adblock so it knows what to block.

aleksandyr 2007-07-19 13:58

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
AdBlock Plus integrates a subscription manager already.

paulrb02 2007-07-19 14:15

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
it does in Firefox, but you have to choose which list you want to subscribe to. Did the tablet version subscibe to any list?

Toontje 2007-07-20 11:02

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
Quote:

Originally Posted by aleksandyr (Post 61084)
Once I can actually -test- this, I intend to play with it and get it working --- I could not resist posting a teaser, though :)

So it doesn't work yet? What did i install then? Just a proof of concept that plug-ins can be installed? Or am i overseeing something?

Ton.

johsua 2007-07-20 12:17

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
Aleksadyr - Have you been able to get flashblock ported? Thanks btw!

aleksandyr 2007-07-20 17:10

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
I intend to port Flashblock later today: this has been a rather busy week for me. :)

AdBlock Plus is, unfortunately, just a proof-of-concept: it installs. Without XUL, neither AdBlock Plus nor Filterset.G are likely to function properly.

Milhouse 2007-08-03 00:00

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
Quote:

Originally Posted by aleksandyr (Post 61698)
I intend to port Flashblock later today: this has been a rather busy week for me. :)

Hi aleksandyr... any progress with Flashblock? No worries if you've been busy and haven't had the time. :)

cosmo 2007-08-05 00:49

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
im asking for the recieving please.

gotanga 2007-08-06 11:54

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
Do you have a repo set up for these?

basco 2007-10-25 23:52

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
I read the posts here and installed the adblock deb but it doesn't as a plugin even when the app manager says installed. Am I missing something?

aleksandyr 2007-10-26 00:28

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
Hi!

(Whoa, sorry Milhouse, I fail)

There's still work to be done that requires me to be able to recompile microb in order to get this (and many other potential) addon working.

The posted DEBs won't be of any use.

Milhouse 2007-10-26 10:01

Re: Ask and Ye Shall Receive: Adblock Plus (sort of!)
 
aleksandyr - no need to apologise. I'll give Greasemonkey a try over the weekend as it has a Flash blocking script (see the Greasemonkey thread) and report back here, as it may not be necessary to port Flashblock at all (although installing Greasemonkey could be considered overkill if all you need is Flash supression). :)


All times are GMT. The time now is 05:31.

vBulletin® Version 3.8.8