Means of small mechanization for Karmagra
Think very many people know Kamagra and use it. While for me personally, the most common usage scenario is, oddly enough, not to admire the growth of your karma, and see the recent changes to karma other carpolithes (a typical example — in any post written by PS "enough to shit my karma is already negative!", I go to check in characetr this user — and there is +50 karma. think about it for a couple of hours so karma was thrown, or is he just a liar-mooch). And all would be well, but to drive manually every time (or copy-paste) the user name in Karmagra somehow boring. Remembering that there is such a thing as zakladki after spending 20 minutes in the refreshment of their memory on how to work with strings in Javascript, begat this:
As javascript in links Habra regatta, instead of a simple drag and drop links to bookmarks bar to create the bookmark manually, writing in the reference given me javascript.
Article based on information from habrahabr.ru
javascript:l=window.location.href;i=l.indexOf('.habrahabr.ru');if(i!=-1){window.open('http://karma.goodrone.org.ru/manage/add/'+l.substring(7,i).replace(/-/g,'_'));}void(0);
As javascript in links Habra regatta, instead of a simple drag and drop links to bookmarks bar to create the bookmark manually, writing in the reference given me javascript.
How to use
Zaim desire to see burmeisteria some carpolithes, go to his character and open a bookmark, hand made in the previous paragraph. Page opens with karmagra and you can good reason to expose carpopodite.Features
-
the
- , you Can call karmagra of any kind characetr — just before habrahabr.ru was the user name. the
- Karmagra opens in a new window or tab (don't like it when bookmarklets spoil the page, which I now have open). the
- If abrollcontainer was not previously installed surveillance, Cemagref will ask whether to start to follow him. the
- If you try to open this bookmark from characetr, and from some other place, then nothing will happen. the
- If the user name is the underscore (remake minus the address of characetr), then it will be handled. If underscores are many — all too correctly (thanks to monsterzz).
Комментарии
Отправить комментарий