Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Masking outward links.
How could I mask all outward links with a (hopefully) unique URL? Say if I had like one link to frank.com and one link to bob.com the links would become http://mysite.com?id=1 http://mysite.com?id=2 respectively. The URL format like that is not important, it just needs to be masked. Any ideas?
And I should mention that this is for a static site (however the links will be updated), and not for a database driven or server side driven site.
0
This discussion has been closed.
Comments
are you just looking to have the links forward immediately to the "masked" site, like a redirect? or is there some other need to have them go through that middleman-referrer-page, like tracking (which could be difficult without some server-side code)?
this is possible in javascript, but all you'd really be doing is passing a GET variable from the query string to a document.location redirection.
EDIT: Oh--not server side... Try this: http://www.webweaver.nu/html-tips/web-redirection.shtml
edit: just found Phurl, which seems pretty nice, but if you know of something better... :-)
heres the script