damoclark / Redact

Userscript to redact parts of a web page for privacy such as during live demos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redact

Userscript to redact parts of a web page for privacy such as during live demos

Nothing fancy here. A simple Userscript written using javascript that can be installed under Greasemonkey (and maybe Tampermonkey) for redacting elements of a page, according to css selectors provided in the script.

The script comes with css specifically for the Moodle Learning Management System, to hide personal details of students during demonstrations. Can be changed to redact whatever it is you need to keep private.

It could be made a little more sophisticated and extensible with external json sources providing the css selectors for redacting. Contributions welcome.

Usage

Install Greasemonkey into your Firefox browser.

Then install Redact.

Enable it in the Greasemonkey Add-ons UI when you want to redact, and disable when not.

Greasemonkey Scripts Enable or Disable

Licence

Copyright (c) 2016 Damien Clark

Licenced under the terms of the GPLv3
GPLv3

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

About

Userscript to redact parts of a web page for privacy such as during live demos


Languages

Language:JavaScript 100.0%