Skip to content

Instantly share code, notes, and snippets.

@jashkenas
Last active February 24, 2024 14:54
Show Gist options
  • Save jashkenas/2e00d2208a270600a28a to your computer and use it in GitHub Desktop.
Save jashkenas/2e00d2208a270600a28a to your computer and use it in GitHub Desktop.

Revisions

  1. jashkenas revised this gist May 13, 2015. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion test.html
    Original file line number Diff line number Diff line change
    @@ -1 +0,0 @@
    <a href="http://google.com">google</a>
  2. jashkenas revised this gist May 13, 2015. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions test.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    <a href="http://google.com">google</a>
  3. jashkenas renamed this gist May 13, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. jashkenas created this gist May 13, 2015.
    1 change: 1 addition & 0 deletions fixiekill.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    javascript:for(var a=document.querySelectorAll("*"),i=0,e;e=a[i];i++)"fixed"==getComputedStyle(e).position&&(e.style.position="static")