Allow the inject script to a page

1. Only work if the injected script and the webdriver-open page are in the same site.
2. It will work with any site if the the test scripts are built into single file.