How to properly configure the exit / panic button with multiple redirects

I have a website that I built for a women's shelter, and it requires an exit button or a panic button. Many sites just go out of Google or another friendly site. I see a few questions here that solve the problem anyway, but this one of my client is most interested in:

http://www.ncadv.org/

Can someone tell me how they do it? When you click the "exit security" button, it redirects BUNCH times to different sites (thereby quickly filling the history with other friendly sites). I really like this approach, I just can’t understand how they do it. Any ideas? At first I thought that they redirect to sites that have their own redirect pages, but if you copy the original link in a new window, it will be redirected only once.

+4
source share
2 answers

Perhaps through the HTTP Referer . To verify, run the following command at a command prompt:

curl --header "Referer: http://www.ncadv.org/" http://abconlinenews.info/localnews.php

The link, http://abconlinenews.info/localnews.php is the first outgoing link to the button.

Answer (when an HTTP referent from ncadv.org ):

 <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="-1"> <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> <title>ABCNews.com: Daily News, Breaking News and Video Broadcasts - ABC News</title> <script> function trigger() { setTimeout("setPage();",20); } function setPage() { window.location="/localnewstoday.php"; } </script> </head> <body onload="trigger();"> <h1>Not Found</h1> <p>The requested URL was not found on this server.</p> <hr> <address>Apache/2.2.16 (Debian) Server at http://abconlinenews.info Port 80</address> </body> </html> 

From there, he probably links and redirects all the way;)

+2
source

One thing you can consider is to use javascript to save the story. If you use "location.replace (" www.google.com "); for example, it will replace the current entry with a new URL and there will be no history entry to go back.

If you used the function and passed URLs to it through onClick events, you could exclude any history from tracking at all.

0
source

All Articles