Site Notice
hello, world
Difference between revisions of "MediaWiki:Js-InPageEdit-v2.js"
From Project-EPB Commons
([InPageEdit] 没有编辑摘要) Tag: Replaced |
([InPageEdit] 没有编辑摘要) |
||
Line 1: | Line 1: | ||
mw.loader.load('https://cdn.jsdelivr.net/gh/dragon-fish/inpageedit-v2@master/script.min.js'); | mw.loader.load('https://cdn.jsdelivr.net/gh/dragon-fish/inpageedit-v2@master/script.min.js'); | ||
+ | $(window).load(function(){ | ||
+ | ssi_modal.notify('confirm',{ | ||
+ | title: 'Update your Source', | ||
+ | content: 'Thank you for using InPageEdit-v2. You are using static source host on Wjghj Proj. server. Our server is under attack by web bot. You should modify the resource call address to the following address:<div style="clear:both"></div><pre>mw.loader.load(\'https://cdn.jsdelivr.net/gh/dragon-fish/inpageedit-v2@master/script.min.js\');</pre><div style="clear:both"></div>Future updates will also use the new address above.<br/>Dragon Fish | Apr. 15, 2020' | ||
+ | }); | ||
+ | }); |
Revision as of 09:39, 15 April 2020
mw.loader.load('https://cdn.jsdelivr.net/gh/dragon-fish/inpageedit-v2@master/script.min.js');
$(window).load(function(){
ssi_modal.notify('confirm',{
title: 'Update your Source',
content: 'Thank you for using InPageEdit-v2. You are using static source host on Wjghj Proj. server. Our server is under attack by web bot. You should modify the resource call address to the following address:<div style="clear:both"></div><pre>mw.loader.load(\'https://cdn.jsdelivr.net/gh/dragon-fish/inpageedit-v2@master/script.min.js\');</pre><div style="clear:both"></div>Future updates will also use the new address above.<br/>Dragon Fish | Apr. 15, 2020'
});
});