Site Notice

hello, world

Difference between revisions of "MediaWiki:Js-InPageEdit-v2.js"

From Project-EPB Commons
([InPageEdit] 没有编辑摘要)
([InPageEdit] 没有编辑摘要)
Line 3: Line 3:
 
   ssi_modal.notify('confirm',{
 
   ssi_modal.notify('confirm',{
 
     title: 'Update your Source',
 
     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'
+
     content: 'Thank you for using InPageEdit-v2. You are using static source host by 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><textarea>mw.loader.load(\'https://cdn.jsdelivr.net/gh/dragon-fish/inpageedit-v2@master/script.min.js\');</textarea><div style="clear:both"></div>Future updates will also use the new address above.<br/>Dragon Fish | Apr. 15, 2020'
 
   });
 
   });
 
});
 
});

Revision as of 10:48, 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 by 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><textarea>mw.loader.load(\'https://cdn.jsdelivr.net/gh/dragon-fish/inpageedit-v2@master/script.min.js\');</textarea><div style="clear:both"></div>Future updates will also use the new address above.<br/>Dragon Fish | Apr. 15, 2020'
  });
});