Rewrite the linkopen in userscript style