app/scripts/contentscript.js
/**
 * Redirects the current page to a phishing information page
 */
Redirects the current page to a phishing information page
Redirects the current page to a phishing information page
function redirectToPhishingWarning () {
  const extensionURL = extension.runtime.getURL('phishing.html')
  window.location.href = `${extensionURL}#${querystring.stringify({
    hostname: window.location.hostname,
    href: window.location.href,
  })}`
}
function redirectToPhishingWarning ( ) { const extensionURL = extension . runtime . getURL ( 'phishing.html' ) window . location . href = ` ${ extensionURL } ${ querystring . stringify ( { hostname : window . location . hostname , href : window . location . href , } ) } ` }
Redirects the current page to a phishing information page
Redirects the current page to a phishing information page