无编辑摘要
imported>=海豚= 无编辑摘要 |
imported>=海豚= 无编辑摘要 |
||
第11行: | 第11行: | ||
e.preventDefault(); | e.preventDefault(); | ||
navigator.clipboard.writeText( link ); | navigator.clipboard.writeText( link ); | ||
mw.notify([ wgULS("本页面固定链接 | mw.notify([ wgULS("本页面固定 分享 链接已复制到剪贴板"), | ||
$('<a>', {href:'#', text: link}).click(function(e) { e.preventDefault(); }) | $('<a>', {href:'#', text: link}).click(function(e) { e.preventDefault(); }) | ||
]); | ]); | ||
}).appendTo('#firstHeading, #section_0'); | }).appendTo('#firstHeading, #section_0'); | ||
}); | }); |