Link with rel="noreferrer" attribute.<a href="/api/referrer?test=noreferrer_iframe" rel="noreferrer" target="noreferrer_iframe"> Test a link with noreferrer </a>
|
Test a link with noreferrer
| |
Regular link.<a href="/api/referrer?test=referrer_iframe" target="referrer_iframe"> Test a regular link </a>
|
Test a regular link
| |
Regular POST form- Token added to prevent cross-site request forgery (CSRF)
<form action="/api/referrer?test=referrer_post_form" target="referrer_post_form" method="post"> <input id="token" name="token" type="hidden" value="" /> <input type="submit" value="Click to test a POST" /> </form>
| | |
Regular GET form- Hidden input added to pass the test type
<form action="/api/referrer" target="referrer_get_form"> <input name="test" type="hidden" value="referrer_get_form" /> <input type="submit" value="Click to test a GET" /> </form>
| | |