Skip to content

Instantly share code, notes, and snippets.

@tbwiii
Created November 14, 2012 21:07
Show Gist options
  • Select an option

  • Save tbwiii/4074832 to your computer and use it in GitHub Desktop.

Select an option

Save tbwiii/4074832 to your computer and use it in GitHub Desktop.

Revisions

  1. Ted Waller revised this gist Dec 11, 2012. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion Dont Close Me Bro
    Original file line number Diff line number Diff line change
    @@ -1 +0,0 @@
    javascript:(function(){window.addEventListener('beforeunload',function(){return"Whoa bro, you tried to close me. \n Did you mean to do that?"})})();
  2. Ted Waller revised this gist Nov 15, 2012. No changes.
  3. Ted Waller revised this gist Nov 14, 2012. No changes.
  4. Ted Waller revised this gist Nov 14, 2012. No changes.
  5. Ted Waller revised this gist Nov 14, 2012. No changes.
  6. Ted Waller revised this gist Nov 14, 2012. No changes.
  7. Ted Waller revised this gist Nov 14, 2012. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Dont Close Me Bro
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    javascript:(function(){window.addEventListener('beforeunload',function(){return"Whoa bro, you tried to close me. \n Did you mean to do that?"})})();
  8. Ted Waller created this gist Nov 14, 2012.
    1 change: 1 addition & 0 deletions Don't Close Me, Bro
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    javascript:(function(){window.addEventListener('beforeunload',function(){return"Whoa bro, you tried to close me. \n Did you mean to do that?"})})();