Site Notice

hello, world

Difference between revisions of "MediaWiki:Js-blog.js"

From Project-EPB Commons
 
m
Line 5: Line 5:
 
  * For Wjghj Wordpress https://blog.wjghj.cn
 
  * For Wjghj Wordpress https://blog.wjghj.cn
 
  **/
 
  **/
 +
/** 复制时版权声明 **/
 +
$(window).on('copy',function(){
 +
  toastr['warning']($('#sq-middle-footer .license-description').html(),'您刚刚复制了'+$('.sq-site-title a').text()+'上的内容!');
 +
});

Revision as of 13:30, 6 September 2019

/**
 *『Wjghj Project Static』
 * This _JavaScript_ code is from https://common.wjghj.cn
 * CC BY-NC-SA
 * For Wjghj Wordpress https://blog.wjghj.cn
 **/
/** 复制时版权声明 **/
$(window).on('copy',function(){
  toastr['warning']($('#sq-middle-footer .license-description').html(),'您刚刚复制了'+$('.sq-site-title a').text()+'上的内容!');
});