THIS IS A STATIC MIRROR OF USERSCRIPTS.ORG - LOGINS DO NOT WORK

Text Compare By URLs

By Piyush Soni Last update Dec 4, 2010 — Installed 223 times.

Script Summary: Allows calling text-compare.com with any two URLs on the internet ! You can better (visually) compare two versions of your scripts, or the contents of just any two links.



Version: 1.5

Just use Ctrl. + Alt. + Left Click on any two links (not necessarily on the same page !) and press Ctrl. + Alt. + D to open text-compare.com, and auto compare the contents of those links. I will add a GUI to edit these button and key combinations, but until then you can change these them very easily by editing the script (by changing the keyModifiers/mouseModifiers variable).

Using this script, you can also call http://text-compare.com manually with 'fake query strings' to compare two URLs. For example :

http://text-compare.com/?queryLink1=https://userscripts-mirror.org/scripts/version/88390/262637.user(dot)js&queryLink2=https://userscripts-mirror.org/scripts/version/88390/264555.user(dot)js

See that I have changed the last real dots in the link with word ,(dot), so that GreaseMonkey doesn't think it has to install them. The script internally converts all the (dot)s back to real .'s, and of course decodes any standard encoded URLs.