// ==UserScript== // @name 弹琴吧VIP破解脚本 // @namespace https://github.com/ineer // @version 1.0 // @description 突然发现弹琴吧要VIP才能看以前不要钱的谱子,就写了一个破解的脚本 // @author ineer // @match http://www.tan8.com/jitapu-*.html // @match http://www.tan8.com/yuepu-*.html // @grant none // @downloadURL https://update.greasyfork.icu/scripts/25701/%E5%BC%B9%E7%90%B4%E5%90%A7VIP%E7%A0%B4%E8%A7%A3%E8%84%9A%E6%9C%AC.user.js // @updateURL https://update.greasyfork.icu/scripts/25701/%E5%BC%B9%E7%90%B4%E5%90%A7VIP%E7%A0%B4%E8%A7%A3%E8%84%9A%E6%9C%AC.meta.js // ==/UserScript== (function() { 'use strict'; var a=0;var b=window.location.href;var c=b.split('-')[1].split('.')[0];var d='
'+'
'+'
';var e='
';var f=document.querySelector('.flash_0421');if(f){if(b.indexOf('yuepu')>-1){f.innerHTML=d;}else if(b.indexOf('jitapu')>-1){var g=document.getElementById('audio_mask');if(g){g.parentNode.removeChild(g);}var h=document.querySelector('.jiata_yuepu_imgs');if(h){var i=document.querySelector('.jiata_yuepu_imgs>div>ul>li>img').src;h.innerHTML=e;var j=document.getElementById('img1');var k='';l();document.getElementById('qupuPrev').onclick=function(){if(Number(j.style.left.split('p')[0])<=-690){j.style.left=(Number(j.style.left.split('p')[0])+ 690)+'px';}};document.getElementById('qupuNext').onclick=function(){if(Number(j.style.left.split('p')[0])>=-690*(a- 3)){j.style.left=(Number(j.style.left.split('p')[0])- 690)+'px';}};}}}function l(){var m=new Image();a++;m.onload=function(){if(m){j.innerHTML+='
  • ';l();}};m.src=i.split('_')[0]+'_'+i.split('_')[1]+'_'+a+'.png';} })();