User:ToePeu/modern.js

From translatewiki.net
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
var ed = getElementsByCondition(function(el){return el.className=="editsection"}); //for(var i=0; i<ed.length;i++) ed[0].innerHTML += tobottom; for(var i=1; i<ed.length;i++) { ed[i].innerHTML += totop; } for(i=0; i<ed.length; i++) { ed[i].innerHTML = editpage + ed[i].innerHTML.replace('>'+editbtnname+'<', '>&plusmn;<'); } }); // 위로 버튼 추가 끝
ody.innerHTML + secn; // } //section 0 section new 편집 버튼 맨아래로 버튼 추가 끝 editpage = '[<strong><a href="' + url + '" title="문서를 고칩니다. [Alt-Shift-e]">*</a></strong>]'; totop = '[<strong><a'+' href="#" title="위로 가기" onclick="window.scrollTo(0,0); return false">↑</'+'a></strong>]'; tobottom = '[<strong><a'+' href="#" title="아래로 가기" onclick="window.scrollTo(0,height); return false">↓</'+'a></strong>]';
Retrieved from "https://translatewiki.net/w/i.php?title=User:ToePeu/modern.js&oldid=376736"