[Privoxy-users] feature suggestion - button editing of per-site permissions

Lee ler762 at gmail.com
Mon Sep 20 14:44:56 UTC 2021


My wife has a Mac with a big screen, camera & microphone; the extent
of my using a Mac is limited to clicking on the "attend meeting"
button after my wife has set everything up for a video chat w/ my
doctor.

Which is a long way of saying I've never managed a Mac or even really
used one, so I don't understand the problem you're describing.
 ... my wife just got home; I asked her about getting access to the
command line on the Mac and she couldn't remember how !!  So the
problem is a bit clearer now..

> Perhaps if it were easier to enable editing ...

1. Add the line
actionsfile unblock.action
to your privoxy config file after all the other lines starting with
"actionsfile "

2. Create the "unblock.action" file in the directory with all the
other privoxy action files with one line
{ -block }
  .... and you'll probably have to adjust the permissions so that
Privoxy can read/write the file.

3 --> the point-n-click but not so secure method
a) change
enable-edit-actions 0
in your privoxy config file to
enable-edit-actions 1

b) bookmark
http://config.privoxy.org/show-url-info
so you can see if a URL is blocked by privoxy or no

c) bookmark
http://config.privoxy.org/show-status
so you can click on the "edit" button for unblock.action

d) On the "Editing Actions File .\unblock.action" page, scroll down to the
Actions:
Edit
-block
URL patterns:
Add

and click on the "Add" button
type the URL you want to unblock and click the "Submit" button

     ---------------------------------------------------------

Maybe we should add a one line "{ -block }" unblock.action file to
privoxy so users don't have to create it themselves?

Lee




On 9/19/21, Steven Kolins <smkolins at mac.com> wrote:
> Yes I’ve done that kind of thing and have managed those types of
> customizations. Even getting to that point requires changing permissions
> deeply in the configuration management of the system in ways the OSes don’t
> facilitate but do allow and editing configuration files, reading
> documentation, implementing strategies.
>
> Perhaps if it were easier to enable editing and some managed schemes would
> allow a broader set of potential users to use privoxy. I don’t know if the
> particulars on Macs is specifically useful in other OS environments but if
> adding the admin user who is installing Privoxy to the _privoxy group that
> manages and runs the daemon, during the install process might facilitate
> some of these steps. If that is a way to enable the edit ability of privoxy
> configuration safely, which also still requires editing the config file to
> allow the two “edit actions” but which is impossible if you aren’t a member
> of the _privoxy group or use terminal editing actions. Such editing is
> possible but foreign to the majority of Mac users who otherwise have access
> to products like NoScript, AdBlock, StopTheMadness and so on that do present
> in-browser options for managing their configuration.
>
> Or maybe a step during the install enables the installing amount with
> permissions to edit and then edits the config file to allow editing from
> within the browser, and drops a shortcut to the privoxy page in the privoxy
> application folder.
>
> Or I’m sure programmers might think of more elegant solutions.
>
>> On Sep 19, 2021, at 12:03 PM, Lee <ler762 at gmail.com> wrote:
>>
>> On 9/19/21, Ian Silvester  wrote:
>>>
>>> I'd be interested in hearing what other developers think, but my take on
>>> what you've outlined in your post would require implementing a whole
>>> additional configuration layer to manage which 'undesirable' sites are
>>> being
>>> filtered, per web site, and then to develop and maintain a database of
>>> 'degree of breakage' for each pairing of site and undesirable. That
>>> sounds
>>> like quite an undertaking.
>>
>> Ian,
>>
>> It seems like way too much work for a minimal gain.  Especially
>> considering most people have
>>  enable-edit-actions 0
>> in their privoxy config.
>>
>>
>> Steven,
>>
>> Have you tried adding an "unblock.action" actionsfile to privoxy?
>>
>> I got tired of dealing with adblock hostfile providers that kept
>> blocking sites I didn't want blocked, so I've got
>> $ grep '^action' config.txt
>> actionsfile match-all.action # Actions that are applied to all sites
>> and maybe overruled later on.
>> actionsfile default.action   # Main actions file
>> actionsfile user.action      # User customizations
>> actionsfile blocksites.action   # my list of sites to block
>> actionsfile lightswitch-hosts.action
>> actionsfile unified-hosts.action
>> actionsfile unblock.action
>>
>> unblock.action is listed last and whatever is { -block }'ed in there
>> "wins".
>>
>> Lee
>
> =    -   -  - - -  -   -    =
> Steven Kolins
> mailto:smkolins at mac.com
> http://smk99.blogspot.com/
> Possess a pure, kindly and radiant heart!
>
> _______________________________________________
> Privoxy-users mailing list
> Privoxy-users at lists.privoxy.org
> https://lists.privoxy.org/mailman/listinfo/privoxy-users
>


More information about the Privoxy-users mailing list