미디어위키:Common.js: 두 판 사이의 차이
Resultofunion (토론 | 기여) 편집 요약 없음 |
Resultofunion (토론 | 기여) 편집 요약 없음 |
||
| 10번째 줄: | 10번째 줄: | ||
} | } | ||
//Naver Analytics | //Naver Analytics | ||
var NaverCdn = document.createElement('script'); | var NaverCdn = document.createElement('script'); | ||
| 290번째 줄: | 287번째 줄: | ||
window.addEventListener('load', function(){ | window.addEventListener('load', function(){ | ||
console.log('load'); | |||
if(mw.user.getId() == 0){ | if(mw.user.getId() == 0){ | ||
console.log('Non-members'); | |||
var $tb = document.querySelector('.mw-portlet-tb'); | var $tb = document.querySelector('.mw-portlet-tb'); | ||
if($tb) $tb.parentElement.removeChild($tb); | if($tb) $tb.parentElement.removeChild($tb); | ||