ಸದಸ್ಯ:M G Harish/zero-edit.js
ಗೋಚರ
Note: After publishing, 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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
function zeroEdit()
{
e = document.createElement ("input");
e.setAttribute ("type", "button");
e.setAttribute ("value", "ಅನುಸ್ವಾರ ಸರಿಪಡಿಸು");
e.setAttribute ("onclick", "ocZeroEdit()");
b = document.getElementById ('wpDiff');
if(b) b.parentNode.insertBefore (e, b.nextSibling);
}
function ocZeroEdit()
{
tb = document.getElementById ("wpTextbox1");
tb.value = tb.value.replace (/([ಂ-ೣ])೦/g, "$1ಂ");
s = document.getElementById ("wpSummary");
if(null == s.value.match("ZeroEdit"))
{
s.value += "[[ಸದಸ್ಯ:M_G_Harish/zero-edit.js|ZeroEdit]] ಉಪಯೋಗಿಸಿ ಅನುಸ್ವಾರಗಳನ್ನು ಸರಿಪಡಿಸಲಾಗಿದೆ";
}
}
zeroEdit();
void (0);