And of course just as I send this something Eridius said gave me an idea.
Course place a javascript file in a known place in the file system, then have the webpage load that file. If the load fails nothing would go wrong, the links would never appear. (Have the js file simply load those links)