[Habrahabr Main Menu]
Item, “Profile” = “Go to Page,„ http: // USER .habrahabr.ru / “,,,” blank ""
Item, “Mail” = “Go to Page,„ www.habrahabr.ru/mail/inbox “,,,” blank ""
Item, “Habralenta” = “Go to Page,„ http: // USER .habrahabr.ru / lenta / “,,,“ blank ""
Item, “Favorites” = “Go to Page,„ http: // USER .habrahabr.ru / profile / favorite / “,,,“ blank ""
Item, “My” = “Go to Page,„ http: // USER .habrahabr.ru / my / “,,,” blank ""
--------------------one
Submenu, "Add", Habrahabr Write = Show popup menu ,,,, "habr.write.a"
')
[Habrahabr Write]
Item, "Topic" = "Go to Page," www.habrahabr.ru/blog/add ",,," blank "
Item, “Columns” = “Go to Page,„ www.habrahabr.ru/column/add “,,,” blank "
Item, “Interview” = “Go to Page,„ www.habrahabr.ru/interview/add “,,,” blank "
Item, “Translation” = “Go to Page,„ www.habrahabr.ru/translation/add “,,,” blank "
Item, "Podcast" = "Go to Page," www.habrahabr.ru/podcast/add ",,," blank "
Item, “Poll” = “Go to Page,„ www.habrahabr.ru/question/add “,,,” blank "
Item, “Vacancy” = “Go to Page,„ www.habrahabr.ru/job/add “,,,” blank "
Submenu, Habrahabr, Habrahabr Code Menu = Show popup menu ,,,, “blank”
[Habrahabr Code Menu] Item, "Bold" = Go to page, "javascript: (function () {var tag = 'b'; var s = document.selection.createRange (); var st = '<' + tag + '>' + s. text + '</' + tag + '>'; s.text = st;}) () ",,," habracode_bold " Item, "Italic" = Go to page, "javascript: (function () {var tag = 'i'; var s = document.selection.createRange (); var st = '<' + tag + '>' + s. text + '</' + tag + '>'; s.text = st;}) () ",,," habracode-italic " Item, "Strikethrough" = Go to page, "javascript: (function () {var tag = 's'; var s = document.selection.createRange (); var st = '<' + tag + '>' + s. text + '</' + tag + '>'; s.text = st;}) () ",,," habracode-stroke " Item, "Underlined" = Go to page, "javascript: (function () {var tag = 'u'; var s = document.selection.createRange (); var st = '<' + tag + '>' + s. text + '</' + tag + '>'; s.text = st;}) () ",,," habracode-underline " --------------------one Item, "Paragraph" = Go to page, "javascript: (function () {var tag = 'p'; var s = document.selection.createRange (); var st = '<' + tag + '>' + s. text + '</' + tag + '>'; s.text = st;}) () ",,," habracode-paragraph " Item, "Quote" = Go to page, "javascript: (function () {var tag = 'blockquote'; var s = document.selection.createRange (); var st = '<' + tag + '>' + s. text + '</' + tag + '>'; s.text = st;}) () ",,," habracode-blockquote " Item, "Habrakat" = Go to page, "javascript: (function () {var tag = 'habracut'; var s = document.selection.createRange (); var st = '<' + tag + '>' + s. text + '</' + tag + '>'; s.text = st;}) () ",,," habracode-habracut " -------------------- 2 Item, "Hyperlink" = Go to page, "javascript: (function () {var tag = 'a'; var s = document.selection.createRange (); var st = '<' + tag + 'href =>' + s.text + '</' + tag + '>'; s.text = st;}) () ",,," habracode-link " Item, "Image" = Go to page, "javascript: (function () {var tag = 'img'; var s = document.selection.createRange (); var st = '<' + tag + 'src = title = align = right boder = 0 />'+s.text;s.text=st ;bc) () ;,,,,"habracode-image " Item, "YouTube video" = Go to page, "javascript: (function () {var tag = 'youtube'; var s = document.selection.createRange (); var st = '<' + tag + '>' + s .text + '</' + tag + '>'; s.text = st}) () ",,," habracode-youtube " Item, "User" = Go to page, "javascript: (function () {var tag = 'hh'; var s = document.selection.createRange (); var st = '<' + tag + 'user =' + s .text + '>' + s.text + '</' + tag + '>'; s.text = st;}) () ",,," habracode-habrauser " -------------------- 3 Item, "Numbered List" = Go to page, "javascript: (function () {var tag = 'ol'; var s = document.selection.createRange (); var st = '<' + tag + 'href =>' + s.text + '</' + tag + '>'; s.text = st;}) () ",,," habracode-orderedlist " Item, "Simple List" = Go to page, "javascript: (function () {var tag = 'ul'; var s = document.selection.createRange (); var st = '<' + tag + '>' + s .text + '</' + tag + '>'; s.text = st;}) () ",,," habracode-unorderedlist " Item, "New Item" = Go to page, "javascript: (function () {var tag = 'li'; var s = document.selection.createRange (); var st = '<' + tag + '>' + s .text + '</' + tag + '>'; s.text = st;}) () ",,," habracode-listitem " --------------------four Submenu, "Special characters", Habrahabr Additional Code Menu = Show popup menu ,,,, "blank" [Habrahabr Additional Code Menu] Item, "©" = Go to page, "javascript: (function () {var s = document.selection.createRange (). Text = '& copy;';})) ()" ,,, "blank" Item, "®" = Go to page, "javascript: (function () {var s = document.selection.createRange (). Text = '& reg;';})) ()" ,,, "blank" Item, "™" = Go to page, "javascript: (function () {var s = document.selection.createRange (). Text = '& trade;';})) ()" ,,, "blank" Item, "-" = Go to page, "javascript: (function () {var s = document.selection.createRange (). Text = '& mdash;'}}) ()" ,,, "blank" Item, "-" = Go to page, "javascript: (function () {var s = document.selection.createRange (). Text = '& ndash;';})) ()" ,,, "blank" Item, ">" = Go to page, "javascript: (function () {var s = document.selection.createRange (). Text = '& gt;';})) ()" ,,, "blank" Item, "<" = Go to page, "javascript: (function () {var s = document.selection.createRange (). Text = '& lt;';})) ()" ,,, "blank" </ font> </ blockquote> 3. <u> Installing Icons: </ u> Perhaps the most difficult and at the same time not mandatory step (it will work, but with more beautiful icons). We find the file of the used Opera skin (usually "C: \ Program Files \ Opera \ skin \ standard_skin.zip"), we throw in it <a href='http://www.mediafire.com/?1n02zoocmw2'> folder with icons < / a> Add to skin.ini in the section <i> [Images] </ i> the following code: <blockquote> <font size = 1> habr.write.a = habrahabr / habr.write.a.png, 1 habr.user.a = habrahabr / habr.user.a.png, 1 habracode-blockquote = habrahabr / habracode-blockquote.png, 1 habracode-habracut = habrahabr / habracode-habracut.png, 1 habracode-habrauser = habrahabr / habracode-habrauser.png, 1 habracode-image = habrahabr / habracode-image.png, 1 habracode-italic = habrahabr / habracode-italic.png, 1 habracode-link = habrahabr / habracode-link.png, 1 habracode-listitem = habrahabr / habracode-listitem.png, 1 habracode-orderedlist = habrahabr / habracode-orderedlist.png, 1 habracode-paragraph = habrahabr / habracode-paragraph.png, 1 habracode-stroke = habrahabr / habracode-stroke.png, 1 habracode-underline = habrahabr / habracode-underline.png, 1 habracode-unorderedlist = habrahabr / habracode-unorderedlist.png, 1 habracode-youtube = habrahabr / habracode-youtube.png, 1 habracode_bold = habrahabr / habracode_bold.png, 1 </ blockquote> </ font> Note that the initial files must be saved in UTF-8. That's all! Delov then;) <font size = "1"> PS: Agreement <hh user = rumkin> rumkina </ hh> obtained. PPS: The above code does not pretend to ideality, I'm just learning. However, his performance was tested on several wheelbarrows. PPPS: Here are the working files: <a href=http://flip4ever.110mb.com/upload/standard_skin.zip> skin </a>, <a href = http: //flip4ever.110mb.com/upload/standard_menu. ini> menu </a>. Skin put \ Opera \ skin \ here, menu \ Opera \ profile \ menu \ </ font> </ habracut>
Source: https://habr.com/ru/post/3665/
All Articles