Hello,
I have a macro on my page which executes
AJS.$("#page").css("display", "none");
to hide the main page and inserting other content. Somehow hiding the
confluence page causing the site to crash. In firefox I get the message that a webpage is slowing down the browser. A confluence script hangs-up after executing this line and I can not figure it out where exactly.
I tried it without jquery and with plain javascript only. Its even happening if I inspect the page element and change the css via the Firefox Inspector.
This is really frustrating because I can not find any clue what is going on there.