Skip to content

Instantly share code, notes, and snippets.

@vinthen
Forked from tosbourn/facebook_warning.html
Created October 14, 2020 02:54
Show Gist options
  • Save vinthen/b5c82bebe00d1df1070ed65b094e591a to your computer and use it in GitHub Desktop.
Save vinthen/b5c82bebe00d1df1070ed65b094e591a to your computer and use it in GitHub Desktop.

Revisions

  1. @tosbourn tosbourn renamed this gist Feb 4, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. @tosbourn tosbourn created this gist Feb 4, 2017.
    17 changes: 17 additions & 0 deletions facebook_warning
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title></title>
    </head>
    <body>
    <script type="text/javascript">
    const warningTitleCSS = 'color:red; font-size:60px; font-weight: bold; -webkit-text-stroke: 1px black;';
    const warningDescCSS = 'font-size: 18px;';

    console.log('%cStop!', warningTitleCSS);
    console.log("%cThis is a browser feature intended for developers. If someone told you to copy and paste something here to enable a Facebook feature or \"hack\" someone's account, it is a scam and will give them access to your Facebook account.", warningDescCSS);
    console.log('%cSee https://www.facebook.com/selfxss for more information.', warningDescCSS);
    </script>
    </body>
    </html>