Skip to content

Instantly share code, notes, and snippets.

@nfreear
Last active October 10, 2020 12:19
Show Gist options
  • Save nfreear/9373015 to your computer and use it in GitHub Desktop.
Save nfreear/9373015 to your computer and use it in GitHub Desktop.
Privoxy proxy server configuration for Accessify-Wiki | http://privoxy.org
# https://gist.github.com/nfreear/9373015
# http://privoxy.org/user-manual/config.html#ACTIONSFILE
#
# File: config.txt
#
# Section 5.1
forward / wwwcache.open.ac.uk:80
forward :443 .
#
# File: user.filter
#
#################################################################################
#
# accessify-wiki: The Accessify Wiki filter.
#
#################################################################################
FILTER: accessify-wiki The Accessify Wiki filter.
# Inject the bookmarklet Javascript.
#
s@<\/(body|html)>@<script>AC5U={app:"privoxy"}</script><script src="//accessifywiki.appspot.com/browser/js/accessifyhtml5-marklet.js"></script></$1>@isU
#
# File: user.action
#
{+filter{accessify-wiki}}
# Sticky Actions = -filter{jumping-windows}
# URL = http://www.openstreetmap.org | <ALL>
/
.openstreetmap.org
# End.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment