HTML/Quick Reference
From r00tedvw.com wiki
(Difference between revisions)
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
==Interesting Items== | ==Interesting Items== | ||
====Hidden Link==== | ====Hidden Link==== | ||
− | Using a portion of javascript it is possible to create a HTML link that ''appears'' to go to a safe URL, but actually will direct the user to any URL you want. Even if the User scrolls over the link to look at a preview of the URL it's pointing to, unless they look at the source they will not | + | Using a portion of javascript it is possible to create a HTML link that ''appears'' to go to a safe URL, but actually will direct the user to any URL you want. Even if the User scrolls over the link to look at a preview of the URL it's pointing to, unless they look at the source they will not realize it points somewhere else.<br> |
Example:<br> | Example:<br> | ||
<nowiki><a href="http://www.ced-miami.com/wp-content/uploads/2014/03/CED-LOGO-FINAL.png" onclick="window.open('http://www.where-ever.the.fuck.i.want.you.to.go.com', 'newwindow', 'width=300, height=250'); return false;"> Print</a></nowiki> | <nowiki><a href="http://www.ced-miami.com/wp-content/uploads/2014/03/CED-LOGO-FINAL.png" onclick="window.open('http://www.where-ever.the.fuck.i.want.you.to.go.com', 'newwindow', 'width=300, height=250'); return false;"> Print</a></nowiki> |
Latest revision as of 17:54, 15 December 2015
[edit] Interesting Items
[edit] Hidden Link
Using a portion of javascript it is possible to create a HTML link that appears to go to a safe URL, but actually will direct the user to any URL you want. Even if the User scrolls over the link to look at a preview of the URL it's pointing to, unless they look at the source they will not realize it points somewhere else.
Example:
<a href="http://www.ced-miami.com/wp-content/uploads/2014/03/CED-LOGO-FINAL.png" onclick="window.open('http://www.where-ever.the.fuck.i.want.you.to.go.com', 'newwindow', 'width=300, height=250'); return false;"> Print</a>