您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Robi BUUUM.
当前为
// ==UserScript== // @name Vote Explosion Effect (o_o) // @namespace voteexplosion // @description Robi BUUUM. // @include http://*.wykop.pl/* // @version 0.01 // ==/UserScript== function bluh(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=0;n<options.particles;n++){var e=bluh(o,i),r="particle_"+Math.random().toString(36).substring(7),c="particle_"+Math.random().toString(36).substring(3);t.clone().appendTo(a).attr("id",r).attr("class",c).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(){$("#"+r).css("top",e[1]).css("left",e[0]).fadeOut(1e3,function(){$("."+c).each(function(){$(this).remove()})})})}});