Don't translate tags in OSMWIKI!

Prevent tags in OpenStreetMap Wiki from being translated by browser.

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

// ==UserScript==
// @name         Don't translate tags in OSMWIKI!
// @name:zh-CN         不要翻译 OSMWIKI 的tag!
// @name:zh-TW         不要翻譯 OSMWIKI 的tag!
// @name:ja         OSMWIKIタグを翻訳しないでください!
// @namespace    https://www.jianshu.com/u/8f333703e491
// @version      0.2
// @description  Prevent tags in OpenStreetMap Wiki from being translated by browser.
// @description:zh-CN  避免浏览器翻译 OpenStreetMap Wiki 上的tag。
// @description:zh-TW  避免瀏覽器翻譯 OpenStreetMap Wiki 上的tag。
// @description:ja  OpenStreetMap Wikiのタグがブラウザーによって翻訳されないようにします。
// @icon               https://www.openstreetmap.org/favicon.ico
// @author       Xiao_Le
// @include      *://wiki.openstreetmap.org*
// @match        *://wiki.openstreetmap.org*
// ==/UserScript==
window.onload = function(){
    $('p tt').each(function (i, e) {$(this).attr('id', 'tag');});
    $('p tt').each(function (i, e) {$(this).attr('class', 'mw-content-ltr notranslate');});
    $('li tt').each(function (i, e) {$(this).attr('id', 'tag');});
    $('li tt').each(function (i, e) {$(this).attr('class', 'mw-content-ltr notranslate');});
    $('td tt').each(function (i, e) {$(this).attr('id', 'tag');});
    $('td tt').each(function (i, e) {$(this).attr('class', 'mw-content-ltr notranslate');});
}