I\'m just fiddling around with user scripts in chrome right now, so please bear with my potential ignorance/idiocy.
In the page I\'m writing a script for, there is a
If you want to interact with page JavaScript, you will have to insert a script into a page. (Unless you want to use any of the hacks suggested at this page, of course.) I have cooked up a function to do just that for my own scripts, I will post it here in case anyone wants to use it.
/*
@description This function will insert the given code as a