Last active
July 7, 2018 15:42
-
-
Save shadowfacts/5350e6931ee017dc4e523ef0fcd3053f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Normal position: fixed; | |
const elems = document.getElementsByTagName("*"); | |
for (let i = 0; i < elems.length; i++) { | |
const el = elems[i]; | |
const position = window.getComputedStyle(el).getPropertyValue("position"); | |
if (position == "fixed") { | |
el.remove(); | |
} | |
} | |
// Medium "Open in App" | |
document.querySelector(".postActionsBar").remove(); | |
completion(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment