The Adblock Project Forum Index The Adblock Project
Pull up a seat ...stay a while.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Blocking whole addresses?

 
Post new topic   Reply to topic    The Adblock Project Forum Index -> Main
View previous topic :: View next topic  
Author Message
Chris
Guest





PostPosted: Tue Nov 25, 2003    Post subject: Blocking whole addresses? Reply with quote

Hi, thank you for your utility.
The installation was no problem.

The example on the main page suggests that I could block everything from
doubleclick by entering "doubleclick.net" into the "New Filter" field.

I would like to block some pages completely f.e. "www.avfree.de" (p*rn) and "www.spiegel.de". I entered it, but they are still accessible.
Did I do something wrong?
I use WinME and Moz 1.4.

Or does anyone have an idea how I could block a URL with Mozilla?
(password not necessary).

Thanks.

Chris
Back to top
CyberSlug



Joined: 23 Nov 2003
Posts: 5

PostPosted: Tue Nov 25, 2003    Post subject: Reply with quote

If you want to completely block websites (and not just their images), then you should look at "hosts file blocking" http://www.accs-net.com/hosts/what_is_hosts.html

Hope that helps
Back to top
View user's profile Send private message
Chris
Guest





PostPosted: Tue Nov 25, 2003    Post subject: Thanks a lot! Reply with quote

It works! Very Happy

God bless you.
And your children.
And your children's children.
And your children's children's children's children.

Thanks!

Chris
Back to top
rue
Developer


Joined: 22 Oct 2003
Posts: 752

PostPosted: Tue Nov 25, 2003    Post subject: Reply with quote

Uh.. well, between sometime before CyberSlug posted that and now, I implemented document-blocking in Adblock.
.
It's easier than host-blocking, although I'm not sure it's the behavior people will expect from a "content-policy module". Documents are traditionally considered containers more than content. Anyway, if anyone complains, I'll just make a pref-toggle for it. Right now, it's hard-enabled.
Back to top
View user's profile Send private message
rue
Developer


Joined: 22 Oct 2003
Posts: 752

PostPosted: Tue Nov 25, 2003    Post subject: Reply with quote

d2 nightly 20 is posted
Back to top
View user's profile Send private message
rue
Developer


Joined: 22 Oct 2003
Posts: 752

PostPosted: Tue Nov 25, 2003    Post subject: Reply with quote

nightly 20 pass-2 is posted.

Document-blocking: I think I already dislike this feature, but there's no turning back now.
.
In an effort to ease the "unblocking" of blocked site url's, the page-message now indicates which part of the url was caught.
Back to top
View user's profile Send private message
Guest






PostPosted: Sat Nov 29, 2003    Post subject: Reply with quote

I thought the whole point of adblock was to block ads on a page and not the entire page.
very annoying feature. any way i can turn this off?
for instance i might want to block all images on a site but still be able to access the rest of the content.
Back to top
rue
Developer


Joined: 22 Oct 2003
Posts: 752

PostPosted: Sun Nov 30, 2003    Post subject: Reply with quote

d2 nightly 22 is posted.
.
There's a new option for "Site Blocking" in the pref-window > options-menu. The feature is default-disabled.
Back to top
View user's profile Send private message
denke



Joined: 30 Nov 2003
Posts: 4

PostPosted: Sun Nov 30, 2003    Post subject: Site vs document blocking Reply with quote

I'm sorry. I'm confused. What does site blocking do, and how is different from document blocking?

What a sweet plug-in! Thank you so much!
Back to top
View user's profile Send private message
rue
Developer


Joined: 22 Oct 2003
Posts: 752

PostPosted: Sun Nov 30, 2003    Post subject: Reply with quote

denke:
Site Blocking is document-blocking, renamed.
.
In the menu, the word "Document" didn't connect quite as strongly as "Site".
Back to top
View user's profile Send private message
Melon
Guest





PostPosted: Sun Nov 30, 2003    Post subject: hmm Reply with quote

Thought my thread would get redirected to this one.

So then, Document/site blocking is ok (i.e the idea is fine) I just wanted to know if there was some RegEx that could be used in tandem with site blocking enabled.

So h*p://www.blahblah.com/*.[jpg|gif|png] or something, I just made that up so obviously doesn't work.

Thanks for any help.
Back to top
rue
Developer


Joined: 22 Oct 2003
Posts: 752

PostPosted: Sun Nov 30, 2003    Post subject: Reply with quote

Melon:
That's an interesting idea -- restricting site-blocking to a certain type of filter.
.
Right now, it works well, though. Since site-blocking would normally be a restrictive-measure (children, libraries), it would only be sensible if Adblock's filters could not be altered by the normal user -- ie. a root-install, on a restricted-user system. In a lockdown like this, live "adblocking" takes a back-seat to predetermined access.
Back to top
View user's profile Send private message
iwpg
Guest





PostPosted: Fri Dec 05, 2003    Post subject: Reply with quote

In nightly build 27, site blocking doesn't seem to work properly: it appears to require restarting Mozilla to turn it on or off, the "This page has been blocked" message doesn't appear until I go back and then forward again, and there are funny things going on in the address bar, ie the address of the previous site I was on, or an address beginning with "wyciwyg://".
Back to top
rue
Developer


Joined: 22 Oct 2003
Posts: 752

PostPosted: Fri Dec 05, 2003    Post subject: Reply with quote

nightly 28 is posted.
.
It turns out that pref hadn't been properly toggling since it landed. Fixed.
Back to top
View user's profile Send private message
rue
Developer


Joined: 22 Oct 2003
Posts: 752

PostPosted: Sat Dec 06, 2003    Post subject: Reply with quote

iwpg:
I'll have to use a custom observer-notification to access the address-bar (from priveleged space). I just started messing with them, so it'll probably land by the next nightly.
.
Until then, the entry shows a chrome-url for all blocked pages.
Back to top
View user's profile Send private message
iwpg
Guest





PostPosted: Sat Dec 06, 2003    Post subject: Reply with quote

Still a few minor glitches in site blocking, but nothing life-threatening:

1) Go to non-blocked site A.
2) Go to non-blocked site B.
3) Go to blocked site X.
4a) Hit Reload

Back to site B.

Repeat steps 1-3.
4b) Click Back.

Back to site A.

5) Click forward.

Back to site B. Ads (if any) are removed but not collapsed, even if this is enabled. Cursor and throbber indicate that the page is still loading, even when it has finished.

6) Click Stop.
7) Click Reload.

Still on site B, back to normal.

As I said, nothing too serious.
Back to top
iwpg
Guest





PostPosted: Sat Dec 06, 2003    Post subject: Reply with quote

Actually, the "ads not getting collapsed when using Back and Forward" problem occurs whether or not site blocking is involved.
Back to top
rue
Developer


Joined: 22 Oct 2003
Posts: 752

PostPosted: Tue Dec 09, 2003    Post subject: Reply with quote

iwpg:
I can't reproduce the "uncollapsed on history-load" issue, but it seems clear your cache isn't properly catching script-changes to loaded items.
.
You didn't mention which browser / platform you're running, but I'll guess fb; I'm not seeing this in mozilla.
.
Lastly, the urlbar now properly shows what site is blocked. As far as I can determine, no history session is created, but that might have changed in newer browser-builds. The code for creating them is poorly documented, so I gave up after a while -- not like anyone cared.
Back to top
View user's profile Send private message
iwpg
Guest





PostPosted: Tue Dec 09, 2003    Post subject: Reply with quote

rue:
Nope, Moz 1.5 on Windows 2000. But, the problem seems to have gone away in nightly build 30.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    The Adblock Project Forum Index -> Main All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group