Closed ghost closed 8 years ago
(latest commit of pentadactyl as of writing, Firefox 45.0a2)
For instance...
js <<EOF window.toggle_navbar = function() { var nb=document.getElementById('nav-bar'); var ub=document.getElementById('urlbar'); ub.style.visibility = (nb.style.visibility=='') ? 'collapse' : ''; nb.style.visibility = (nb.style.visibility=='') ? 'collapse' : ''; nb.style.overflow = (nb.style.height=='') ? '' : 'hidden'; } var nb=document.getElementById('nav-bar'); if (nb.style.visibility == '' && nb.style.overflow == '') toggle_navbar() EOF
Will now cause a flood of errors when loading,
:js itself still works fine if it's on one line.
(latest commit of pentadactyl as of writing, Firefox 45.0a2)
For instance...
Will now cause a flood of errors when loading,![like so](https://cloud.githubusercontent.com/assets/2905050/11926993/07f56958-a7c1-11e5-98f7-7167b9fd8eba.png)
:js itself still works fine if it's on one line.