A Pluckeye Forum

A place for Pluckeye users to chew the cud.

You are not logged in.

#1 2017-12-17 19:23:58

eclipsezero
Member
Registered: 2017-12-15
Posts: 21

Allowing sites while still blocking all images + blocking with *'s?

I know, I know, literally describing Pluckeye's default mode.

This is mainly for using with Pluck's deny all capability. Or when blocking a large site but keeping subsections unblocked where you still want no images.

For instance, if I wanted to block the entire internet(therefore also reddit), but allow subreddits like StopGaming and NoSurf yet prevent its search function from letting me run into questionable material(since you can still play GIFS/GFY and the like, or just avoid dumb images in general), would it be as simple as:

pluck deny
pluck allow reddit.com/r/stopgaming
pluck deny reddit.com image/
pluck deny reddit.com video/

The first is to disallow the web. Second to allow that subreddit. Third to still keep all images disabled on that subreddit by having images disabled across reddit. Fourth, same reason.

I am assuming this would work the same for sites like wikipedia, gamefaqs, or whatever else in general??

Like,
pluck deny
pluck allow wikipedia.com
pluck deny wikipedia.com image/

----
Also, can I block all Google domains at once? Or similar for other sites, wiki, yahoo, whatever?
That is, google.com, google.co.uk.

By doing something like
pluck deny google.*

Or is that not available in pluckeye yet?...its possible I am being a dumbass and this is the same thing as a wildcard, and in that case I already have my answer, my bad there then >_>;

Offline

#2 2017-12-18 16:37:49

eclipsezero
Member
Registered: 2017-12-15
Posts: 21

Re: Allowing sites while still blocking all images + blocking with *'s?

Update:
Alright, took some time to test due to my delay, but here are my results
Doing the following:
allow reddit.com/r/StopGaming
deny reddit.com image/
deny reddit.com video/

Does NOT disable images/videos on the stop gaming subreddit!
However:
deny reddit.com/r/StopGaming image/
deny reddit.com/r/StopGaming video/

Does do that. So its a teensy bit annoying, but worth the effort for those self improvement subreddits you so dearly love.
Also note for those who it may not be obvious for: Everything is CASE SENSITIVE. It took me like three tries before I realized StopGaming wasn't getting unblocked because the link uses a capital S and G.
So now I have to go through a long list and figure out which ones I got that wrong on now lol and there are likely several 'duplicates' as a result.

Question:
Is there a difference between adding
reddit.com
www.reddit.com
https://www.reddit.com

??? I mean, there seems to be.
I added
allow https://www.reddit.com/r/WritingPrompts

And just typing reddit.com/r/WritingPrompts, or to say it another way, using the non HTTPS link results in a denied page.
Guess this means we need to ensure we add both HTTP and HTTPS links to ensure proper blocking/unblocking?

EDIT:
Or...not??? Non HTTPS links just seem to get blocked. Not sure yet, think I am just doing something wrong here, must have missed something.

EDIT2:
Scratch that, guess I am just an idiot. Reddit is an HTTPS site, and having plucks deny all function on means that even a sorta non-existent http link can get 'blocked'.
...Considering its 2:30 AM, I wonder how much sense I am making here. Welp, here's hopin'.

Last edited by eclipsezero (2017-12-18 20:57:58)

Offline

#3 2017-12-18 21:31:33

RNYC
Moderator
Registered: 2017-01-14
Posts: 201

Re: Allowing sites while still blocking all images + blocking with *'s?

Question:
Is there a difference between adding
reddit.com
www.reddit.com
https://www.reddit.com

I think the answer is that when you are performing an action on an entire domain, only the domain is necessary.

pluck add "Deny reddit.com"

But when you are dealing with subdirectories, the entire URL is required.

pluck add "Allow https://reddit.com/r/pluckeye"

Jon can come through and correct me if I am wrong. Or you can re-ask the question if I answered the wrong one.

Offline

#4 2018-01-03 23:36:06

jon
Administrator
Registered: 2017-01-10
Posts: 208

Re: Allowing sites while still blocking all images + blocking with *'s?

eclipsezero wrote:

Also, can I block all Google domains at once? Or similar for other sites, wiki, yahoo, whatever?
That is, google.com, google.co.uk.

By doing something like
pluck deny google.*

No.

Unfortunately, from a DNS perspective, google.com and google.co.uk are unrelated.

However, you can pretty easily create a list of google domains and use notepad to change them into

block google.com
block google.co.uk

and then import the result.

Offline

#5 2018-01-03 23:42:52

jon
Administrator
Registered: 2017-01-10
Posts: 208

Re: Allowing sites while still blocking all images + blocking with *'s?

eclipsezero wrote:

deny reddit.com/r/StopGaming image/
deny reddit.com/r/StopGaming video/

reddit.com/r/StopGaming is not a hostname or a url; pluck should probably detect this and report an error.

To accomplish what you want (as you alluded to):

block
allow https://reddit.com/r/StopGaming
block https://reddit.com/r/StopGaming image/
block https://reddit.com/r/StopGaming video/

Another way to do it:

block
allow https://reddit.com/r/StopGaming text/
allow https://reddit.com/r/StopGaming application/javascript

In general, in Pluckeye settings, prefer using hostnames to urls, unless you actually need urls.  In your case (subreddit control), you need to specify urls, not merely hostnames.

Offline

#6 2018-01-04 15:12:32

RNYC
Moderator
Registered: 2017-01-14
Posts: 201

Re: Allowing sites while still blocking all images + blocking with *'s?

However, you can pretty easily create a list of google domains and use notepad to change them into

block google.com
block google.co.uk

and then import the result.

For the non-technical among us, and using Google's list of supported domains I get the list posted here.

Offline

Board footer

Powered by FluxBB