Here's the wrapper for processClick(). It's hard to explain the difference between that and doLink, so feel free to improve what I scribbled in the documentation.
Also, there was an issue where the script would halt if the HTML document didn't have the lang attribute, so I made it default to en if nothing else is specified.
Here's the wrapper for
processClick()
. It's hard to explain the difference between that and doLink, so feel free to improve what I scribbled in the documentation.Also, there was an issue where the script would halt if the HTML document didn't have the
lang
attribute, so I made it default toen
if nothing else is specified.