您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Robi BUUUM.
当前为
// ==UserScript== // @name Vote Explosion Effect (o_o) // @namespace voteexplosion // @description Robi BUUUM. // @include http://*.wykop.pl/* // @version 0.02 // ==/UserScript== function getParticlePosition(t,s){"use strict";var o=($(window).width(),$(window).height(),t-Math.floor(Math.random()*options.blastRadius+1-options.blastRadius/2)),i=s-Math.floor(Math.random()*options.blastRadius+1-options.blastRadius/2);return[o,i]}var options={blastRadius:200,particles:20};$("body").on("click","a.button.mikro.ajax",function(){"use strict";for(var t=$(this),s=t.offset(),o=s.left,i=s.top,a=$("body"),n="particle_"+Math.random().toString(36).substring(3),e=0;e<options.particles;e++){var r=getParticlePosition(o,i),c="particle_"+Math.random().toString(36).substring(7);t.clone().appendTo(a).attr("id",c).attr("class",n).attr("href","").css("position","absolute").css("pointer-events","none").css("transition","1s top cubic-bezier(0.000, 0.895, 0.985, 1.005), 1s left cubic-bezier(0.000, 0.895, 0.985, 1.005)").css("z-index","696969").css("top",i).css("left",o).fadeIn(1,function(){$("#"+c).css("top",r[1]).css("left",r[0]).fadeOut(1e3,function(){$("."+n).each(function(){$(this).remove()})})})}});