A simple Tampermonkey Script that will tell you if your reblog contains a hidden script. #complete
Go to file
Elf M. Sternberg 7b532fd83c [feat] Detects multiple instances. Re-detects every second. Warning moved.
This allows the user to enjoy "infinite scroll" without worrying
about future script injections.  It moves the warning to next-to the
"reblog" button, so you get a clearer picture of what you're up against.
It also no longer interferes with the reblog iframe, so you still get
full interactivity.
2016-02-20 11:56:28 -08:00
.gitignore [feat] Initial check-in. 2016-02-06 16:40:44 -08:00
LICENSE Initial commit 2016-02-06 16:31:23 -08:00
README.md [feat] Initial check-in. 2016-02-06 16:40:44 -08:00
tumblr-evil-detector.js [feat] Detects multiple instances. Re-detects every second. Warning moved. 2016-02-20 11:56:28 -08:00

README.md

Tumblr Evil Detector

Description

This is a simple TamperMonkey script that does one thing: warn you if you're about to reblog a post with a script in it. Malicious users will often hide javascript tags in the caption of a photograph which detects when you're actually looking at the page (through mouse or keyboard actions) and redirects you a site full of malware, spam, or porn. This script is intended to help prevent that, and make your follower's reading experience more pleasant.

Installation

You will need Tampermonkey installed in your browser, then install the Javascript file found in this directory into Tampermonkey.

Behavior

The URL filter currently only identifies pages on Tumblr that are POST pages. If the user has a custom DNS, sadly we can't detect them, but few if any spammers go to those lengths to snare people. It will put a message in the UPPER LEFT corner of the page with the words "SCRIPT DETECTED" if a malicious javascript file is detected in the post message.

That's all it does. It's very short. But it's also very effective.

LICENSE:

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

AUTHOR:

Me, Elf M. Sternberg elf.sternberg@gmail.com