logoalt Hacker News

phillipseamoretoday at 12:48 AM3 repliesview on HN

  (a class="quickBrowserEscape ..." target="_blank" href="https://www.google.ca/") Need to leave site for your safety? Quick Escape
  $('.quickBrowserEscape').on('click', function () {
      document.body.style.opacity = 0;
      document.title = 'New Tab';
      window.open('https://www.weather.gc.ca/canada_e.html', '_blank');
      window.location.replace($('.quickBrowserEscape').attr('href')); // removes current page session DOES NOT WORK IN IE
      return false;
  });
Would recommend picking random URLs from an array.

Replies

embedding-shapetoday at 7:49 AM

Best would be if they took care to match the overall brightness of the page they redirect to.

Currently they're going from a "not 100% bright website" to "very much 100% bright website" and the flash in people's faces will be relatively obvious, if the other person been trying to hide websites themselves. I've heard.

shaknatoday at 3:46 AM

This would also leave intact cookies, local/session storage, indexeddb, caches. All of which abusers do actually check, when controlling their victims.

show 2 replies