Hidden features of the superhub

    Today, I got into something in the Habr code and found a commented out block there, which in essence is a panel with buttons for navigating messages. The commented code looks like this:

         

    •    

    •    

    •    


    As you can see, this block provides the following functionality:
    1. Reload the message tree without reloading the page
    2. Skip to the next or previous unread message (this removes the mark that the message has not been read)
    3. Go to your posts
    What is most interesting, it already works, you just need to turn it on. You can enable it, for example, by entering the following in the address bar:
    javascript: mc = document.getElementById ('main-content'); mc.innerHTML + = mc.childNodes [5] .data; void 0;

    I wonder what habrarazrabotchiki say? ;)

    UPD: The greasemonkey script from rozboris

    arrived in time UPD2: Another script that so far only works in Opera. Posted by GMM

    Also popular now: