Skip to content

Commit

Permalink
don't let an open console mutate the hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorin-Oakenpants authored Dec 5, 2020
1 parent 0869eaa commit 3c34ae7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/misc.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ function get_iframe_props() {
let props = Object.getOwnPropertyNames(contentWindow)
// remove iframe
iframe.parentNode.removeChild(iframe)
// magic: open consoles affect the order
props.push(props.splice(props.indexOf("Event"), 1)[0])
// output
dom.iProps.innerHTML = sha1(props.join()) + s18 +"["+ props.length +"]"+sc
//console.debug(props.join("\n"))
Expand Down

0 comments on commit 3c34ae7

Please sign in to comment.