
Probably, any site has its own little secrets and tricks that allow you to make using the site more comfortable and convenient. They are not self-evident and not known to all, but those who know them can achieve the desired result with less effort or in a simpler and faster way.
In this topic, I propose to share those techniques that you use on Habré.
I have only two of them, and both seem to me necessary and in demand.
How to read the post in the drafts
Who has not come across the fact that, following the link to the new post, I saw only a notice that the post was deleted in drafts by the author or a UFO?
Of course, you can try to find a post in the search engine cache or web archive. But it is much easier to edit the link to the post, adding at the beginning only two letters “so”: “
so habrahabr.ru”. As a result, you will be
taken to
Shahr - a project that preserves the posts of Habrahabr. There you can read the post and comments to it, if the author transfers it to drafts or the post is hidden by the administration.
Example.This is the famous post about bread in Habré:
habrahabr.ru/post/213387He is on a Shahr:
sohabrahabr.ru/post/213387There is a small limitation in using Shahr: Shahrr was launched on September 20, 2013, so he does not find posts that were added to Habr before this date.
')
What can not talk
Discuss karma on Habré is not accepted. But no one has forbidden thinking. And thoughts about how a post or comment influenced the karma of its author sometimes appear.
Habrometer , a site that collects and saves the values ​​of karma and user rating, allows
you to see the change in the hambrapp user’s karma over the past 90 days.
The link to the user's personal habrometer is: habrometr.ru/users/username/. Substituting the user's nickname into it, you can see how his karma has changed lately.
Habrometer collects the values ​​of karma only registered users. For those who did not register at the Habrometer (read, did not know about it), it will not work to see the change in karma.
Cyrillic links
Of course, Cyrillic links are found not only on Habrahabr. But on the IT site, seeing links that are several lines long and consisting of incomprehensible signs is especially surprising. Correctly copy the Cyrillic link can be in two stages. First, we copy the first part of the link to the last slash, and then what follows it.
If your browser is called Firefox, you can teach it to display Cyrillic links correctly by changing the settings:
about: config
network.standard-url.escape-utf8
falseTell us what methods of working with Habrahabrom do you use? Maybe some kind of addition? Or style? Or is there something else on this site that you did not immediately recognize and would like to share with everyone?
Used drawing from post
SquierUpdatedUPD1 :
varagian offered a link to the
Habra Pulse and Habra Analytics website. A description of the project can be found
here .
UPD2 : recently on Habrahabr they were
talking about a bookmarklet that checks spelling and corrects errors. It is very convenient to use it to check your posts and search for typos.
Bookmarklet Codejavascript:(function(){function main(){var text=document.body.innerHTML;text=text.replace(/<.*?>/g," "),text=text.replace(/[^--]/g," "),text=text.replace(/\s+/g," ");var fragments=splitByLimit(text,1e4);for(var i=0,len=fragments.length;i<len;i++)checkAndReplace(fragments[i])}function splitByLimit(text,limit){var fragments=[],words=text.split(" "),fragment=[],fragmentLen=0;for(var i=0;i<words.length;i++){var word=words[i];fragmentLen+word.length*6>limit&&(fragments.push(fragment.join(" ")),fragment=[],fragmentLen=0),fragment.push(word),fragmentLen+=word.length*6+3,i==words.length-1&&fragments.push(fragment.join(" "))}return fragments}function checkAndReplace(text){var xhr=new XMLHttpRequest;xhr.onreadystatechange=function(){this.readyState==4&&(xhr.status==200?(data=JSON.parse(xhr.responseText),replaceWords(data)):console.log(xhr.status))},xhr.open("GET","http://speller.yandex.net/services/spellservice.json/checkText?options=7&text="+text,!0),xhr.send()}function replaceWords(data){if(!data)return;var body=document.body.innerHTML;for(var i=0,len=data.length;i<len;i++){var subst=data[i];if(subst.s.length!==0&&subst.word.length>4){var replacement=''+subst.s[0]+" ";replacement+=''+subst.word.split("").join("")+"";var regexp=new RegExp(subst.word);body=body.replace(regexp,replacement)}}document.body.innerHTML=body}main()})();
UPD3 :
Fenja prompted the site
habrastats.comyr.com where you can see the top comments of Habrahabr. Details
here .
And a small survey to understand how popular this post turned out to be.