Kahoot Game Pin Finder
1.0.0
JavaScript插入物在官方Kahoot网站上使用。
转到Kahoot,然后键入“ JavaScript:”,而没有引号进入Kahoot选项卡的搜索栏。完成键入后,在刚输入的文本之后粘贴以下代码。按Enter并观察魔术的发生。
( function ( ) % 7 B document . title = "Close this to stop" % 3 B document . body . innerHTML = '<div style="display:flex%3Bjustify-content:center%3Balign-items:center%3Bheight:100%%3B"><p style="font-size:3em%3Btext-align:center%3B">Close when done finding pin</p></div>' % 3 B var interval = setInterval ( function ( ) { var code = Math . floor ( Math . random ( ) * 9000000 + 1000000 ) % 3 B var url = "https://kahoot.it/?pin=" + code + "&refer_method=link" % 3 B var win = window . open ( url , "_blank" ) % 3 B setTimeout ( function ( ) { if ( win . document . querySelector ( 'div[data-functional-selector="notification-bar-error"]' ) ) { win . close ( ) % 3 B } } , 600 ) % 3 B } , 600 ) % 3 B % 7 D ) ( ) % 3 B