Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: ed6bc87f89
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (40 sloc) 1.32 KB
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<string># input is selection or document
osascript -e 'on run(theCode)' \
-e 'tell application "Google Chrome" to set t to title of active tab of window 1' \
-e 'set a to "Revision history of "' \
-e 'set revLength to length of characters of a' \
-e 'if (characters 1 thru revLength of t) = a then' \
-e ' set revLength to length of characters of a' \
-e 'else' \
-e ' set revLength to 1' \
-e 'end' \
-e 'try'\
-e ' set t to (characters revLength thru -36 of t) as string --for wikipedia'\
-e 'on error'\
-e ' set t to t'\
-e 'end try'\
-e ' "{{subst:uw-vandalism2|${1:" &amp; t &amp; "}}} ~~~~"'\
-e 'end run' -- </string>
<string>vandalism (intentional)</string>
Jump to Line
Something went wrong with that request. Please try again.