|
Enable HTTPS Filtering: Chain ProxHTTPSProxyMII to Privoxy (OS X Tutorial)
|
|
Apr. 09, 2016, 10:00 AM
(This post was last modified: Dec. 08, 2017 10:26 PM by Faxopita.)
Post: #9
|
|||
|
|||
|
RE: Enable HTTPS Filtering: Chain ProxHTTPSProxyMII to Privoxy (OS X Tutorial)
View Privoxy Status in OS X Menu Bar
![]()
Install BitBar via Homebrew Cask: brew cask install bitbar Amend [script folder] in those scripts:
-–— Caution with Script `Privoxy_Status.sh` If you're not in the habit of clearing Privoxy's logfile once in a while—you may want to keep it for later examination—I suggest you “rotate†it daily in order to reduce CPU usage every time the command grep is called—every x seconds. Highly recommended since using such a command-line utility cyclically on a logfile of 100's of MB (past a million entries) can have a serious impact on your CPU during a few seconds. Not good if you're on battery then! In my case, I decided to have Privoxy's logfile content flushed out daily to some other file located inside the userland part of the system; you can create a new cron job—`crontab -e` in Terminal—and add this line: Code: 0 20 * * * cat /private/var/log/privoxy/logfile.log >> /usr/local/var/log/Privoxy/logfile.bak && echo $(grep "toggle?\(mini=y&\)\?set=\(enable\|disable\)" /private/var/log/privoxy/logfile.log | tail -1) > /private/var/log/privoxy/logfile.logIf you just want to clear Privoxy's logfile content at 8 p.m. daily: Code: 0 20 * * * echo $(grep "toggle?\(mini=y&\)\?set=\(enable\|disable\)" /private/var/log/privoxy/logfile.log | tail -1) > /private/var/log/privoxy/logfile.logSame job but at reboot time only: Code: @reboot echo $(grep "toggle?\(mini=y&\)\?set=\(enable\|disable\)" /private/var/log/privoxy/logfile.log | tail -1) > /private/var/log/privoxy/logfile.logTo list your cron jobs: `contrab -l`. -–— Minuscule donations are always appreciated… Code: BTC --> 34WKogWorDoReJ2MSxw8rTsrGD87VMAPJY |
|||
The following 1 user says Thank You to Faxopita for this post:cattleyavns |
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
Enable HTTPS Filtering: Chain ProxHTTPSProxyMII to Privoxy (OS X Tutorial) - Faxopita - Jul. 26, 2015, 11:09 AM
RE: Privoxy + ProxHTTPSProxyMII on OS X - cattleyavns - Jul. 26, 2015, 01:36 PM
RE: Privoxy + ProxHTTPSProxyMII on OS X - diem - Oct. 12, 2015, 03:07 PM
RE: Privoxy + ProxHTTPSProxyMII on OS X - Faxopita - Oct. 12, 2015, 10:22 PM
RE: Privoxy + ProxHTTPSProxyMII on OS X - JJoe - Oct. 13, 2015, 12:09 AM
RE: Privoxy + ProxHTTPSProxyMII on OS X - Faxopita - Oct. 13, 2015, 09:40 AM
RE: Privoxy + ProxHTTPSProxyMII on OS X - Faxopita - Oct. 18, 2015, 09:50 PM
RE: Enable HTTPS Filtering: Chain ProxHTTPSProxyMII to Privoxy (OS X Tutorial) - Faxopita - Jan. 29, 2016, 03:45 PM
RE: Enable HTTPS Filtering: Chain ProxHTTPSProxyMII to Privoxy (OS X Tutorial) - Faxopita - Apr. 09, 2016 10:00 AM
RE: Enable HTTPS Filtering: Chain ProxHTTPSProxyMII to Privoxy (OS X Tutorial) - Faxopita - Jan. 26, 2017, 04:06 PM
|

Search
Member List
Calendar
Help



![[Image: 34d774c8-fe44-11e5-9cec-1d11df154551.png]](https://cloud.githubusercontent.com/assets/6538008/14403143/34d774c8-fe44-11e5-9cec-1d11df154551.png)


![[-]](images/ONi/collapse.gif)