打开/关闭菜单
Toggle preferences menu
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

MediaWiki:Gadget-tikuShuaTi.js:修订间差异

MediaWiki界面页面
无编辑摘要
无编辑摘要
第3行: 第3行:
window.open("https://www.medforest.cn/tools/tiku?title="+title)
window.open("https://www.medforest.cn/tools/tiku?title="+title)
}
}
$('<button class="button" onclick="openWindow()">进入做题页面</button>').appendTo($('#immerse_button'))
$('<button class="button" onclick="window.open(\'https://www.medforest.cn/tools/tiku?title='+title+'\')">进入做题页面</button>').appendTo($('#immerse_button'))

2022年5月4日 (三) 02:29的版本

function openWindow(){
	var title = $('#immerse_button').children('p').text()
	window.open("https://www.medforest.cn/tools/tiku?title="+title)
}
$('<button class="button" onclick="window.open(\'https://www.medforest.cn/tools/tiku?title='+title+'\')">进入做题页面</button>').appendTo($('#immerse_button'))