:huaji11: 将以下代码复制到TXT,后缀改成js,也可以直接点击[bdbtn]http://down.itzhl.com/WordPress/%E6%8F%92%E4%BB%B6/shubiao.js[/bdbtn]下载JS文件
/*
* 鼠标点击特效,canvas点击效果,第二版
* 原文地址:https://www.itzhl.com
*/
/* Copyright (C) 2013 Justin Windle sketch.min.js, http://soulwire.co.uk */
var Sketch=function(){"use strict";function e(e){return"[object Array]"==Object.prototype.toString.call(e)}function t(e){return"function"==typeof e}function n(e){return"number"==typeof e}function o(e){return"string"==typeof e}function r(e){return E[e]||String.fromCharCode(e)}function i(e,t,n){for(var o in t)(n||!e.hasOwnProperty(o))&&(e[o]=t[o]);return e}function u(e,t){return function(){e.apply(t,arguments)}}function a(e){var n={};for(var o in e)n[o]=t(e[o])?u(e[o],e):e[o];return n}function c(e){function n(n){t(n)&&n.apply(e,[].splice.call(arguments,1))}function u(e){for(_=0;_<J.length;_++)G=J[_],o(G)?O[(e?"add":"remove")+"EventListener"].call(O,G,k,!1):t(G)?k=G:O=G}function c(){L(T),T=I(c),U||(n(e.setup),U=t(e.setup),n(e.resize)),e.running&&!j&&(e.dt=(B=+new Date)-e.now,e.millis+=e.dt,e.now=B,n(e.update),e.autoclear&&K&&e.clear(),n(e.draw)),j=++j%e.interval}function l(){O=Y?e.style:e.canvas,D=Y?"px":"",e.fullscreen&&(e.height=w.innerHeight,e.width=w.innerWidth),O.height=e.height+D,O.width=e.width+D,e.retina&&K&&X&&(O.height=e.height*X,O.width=e.width*X,O.style.height=e.height+"px",O.style.width=e.width+"px",e.scale(X,X)),U&&n(e.resize)}function s(e,t){return N=t.getBoundingClientRect(),e.x=e.pageX-N.left-w.scrollX,e.y=e.pageY-N.top-w.scrollY,e}function f(t,n){return s(t,e.element),n=n||{},n.ox=n.x||t.x,n.oy=n.y||t.y,n.x=t.x,n.y=t.y,n.dx=n.x-n.ox,n.dy=n.y-n.oy,n}function g(e){if(e.preventDefault(),W=a(e),W.originalEvent=e,W.touches)for(M.length=W.touches.length,_=0;_<W.touches.length;_++)M[_]=f(W.touches[_],M[_]);else M.length=0,M[0]=f(W,V);return i(V,M[0],!0),W}function h(t){for(t=g(t),q=(Q=J.indexOf(z=t.type))-1,e.dragging=/down|start/.test(z)?!0:/up|end/.test(z)?!1:e.dragging;q;)o(J[q])?n(e[J[q--]],t):o(J[Q])?n(e[J[Q++]],t):q=0}function p(t){F=t.keyCode,H="keyup"==t.type,Z[F]=Z[r(F)]=!H,n(e[t.type],t)}function v(t){e.autopause&&("blur"==t.type?b:C)(),n(e[t.type],t)}function C(){e.now=+new Date,e.running=!0}function b(){e.running=!1}function P(){(e.running?b:C)()}function A(){K&&e.clearRect(0,0,e.width,e.height)}function S(){R=e.element.parentNode,_=x.indexOf(e),R&&R.removeChild(e.element),~_&&x.splice(_,1),u(!1),b()}var T,k,O,R,N,_,D,B,G,W,z,F,H,q,Q,j=0,M=[],U=!1,X=w.devicePixelRatio,Y=e.type==m,K=e.type==d,V={x:0,y:0,ox:0,oy:0,dx:0,dy:0},J=[e.element,h,"mousedown","touchstart",h,"mousemove","touchmove",h,"mouseup","touchend",h,"click",y,p,"keydown","keyup",w,v,"focus","blur",l,"resize"],Z={};for(F in E)Z[E[F]]=!1;return i(e,{touches:M,mouse:V,keys:Z,dragging:!1,running:!1,millis:0,now:0/0,dt:0/0,destroy:S,toggle:P,clear:A,start:C,stop:b}),x.push(e),e.autostart&&C(),u(!0),l(),c(),e}for(var l,s,f="E LN10 LN2 LOG2E LOG10E PI SQRT1_2 SQRT2 abs acos asin atan ceil cos exp floor log round sin sqrt tan atan2 pow max min".split(" "),g="__hasSketch",h=Math,d="canvas",p="webgl",m="dom",y=document,w=window,x=[],v={fullscreen:!0,autostart:!0,autoclear:!0,autopause:!0,container:y.body,interval:1,globals:!0,retina:!1,type:d},E={8:"BACKSPACE",9:"TAB",13:"ENTER",16:"SHIFT",27:"ESCAPE",32:"SPACE",37:"LEFT",38:"UP",39:"RIGHT",40:"DOWN"},C={CANVAS:d,WEB_GL:p,WEBGL:p,DOM:m,instances:x,install:function(t){if(!t[g]){for(var o=0;o<f.length;o++)t[f[o]]=h[f[o]];i(t,{TWO_PI:2*h.PI,HALF_PI:h.PI/2,QUATER_PI:h.PI/4,random:function(t,o){return e(t)?t[~~(h.random()*t.length)]:(n(o)||(o=t||1,t=0),t+h.random()*(o-t))},lerp:function(e,t,n){return e+n*(t-e)},map:function(e,t,n,o,r){return(e-t)/(n-t)*(r-o)+o}}),t[g]=!0}},create:function(e){return e=i(e||{},v),e.globals&&C.install(self),l=e.element=e.element||y.createElement(e.type===m?"div":"canvas"),s=e.context=e.context||function(){switch(e.type){case d:return l.getContext("2d",e);case p:return l.getContext("webgl",e)||l.getContext("experimental-webgl",e);case m:return l.canvas=l}}(),e.container.appendChild(l),C.augment(s,e)},augment:function(e,t){return t=i(t||{},v),t.element=e.canvas||e,t.element.className+=" sketch",i(e,t,!0),c(e)}},b=["ms","moz","webkit","o"],P=self,A=0,S="AnimationFrame",T="request"+S,k="cancel"+S,I=P[T],L=P[k],O=0;O<b.length&&!I;O++)I=P[b[O]+"Request"+S],L=P[b[O]+"Cancel"+T];return P[T]=I=I||function(e){var t=+new Date,n=h.max(0,16-(t-A)),o=setTimeout(function(){e(t+n)},n);return A=t+n,o},P[k]=L=L||function(e){clearTimeout(e)},C}();
//---
if(document.getElementById("clickCanvas")) {
function Particle(x, y, radius) {
this.init(x, y, radius);
}
Particle.prototype = {
init : function(x, y, radius) {
this.alive = true;
this.radius = radius || 10;
this.wander = 0.15;
this.theta = random(TWO_PI);
this.drag = 0.92;
this.color = '#ffeb3b';
this.x = x || 0.0;
this.y = y || 0.0;
this.vx = 0.0;
this.vy = 0.0;
},
move : function() {
this.x += this.vx;
this.y += this.vy;
this.vx *= this.drag;
this.vy *= this.drag;
this.theta += random(-0.5, 0.5) * this.wander;
this.vx += sin(this.theta) * 0.1;
this.vy += cos(this.theta) * 0.1;
this.radius *= 0.96;
this.alive = this.radius > 0.5;
},
draw : function(ctx) {
ctx.beginPath();
ctx.arc(this.x, this.y, this.radius, 0, TWO_PI);
ctx.fillStyle = this.color;
ctx.fill();
}
};
var MAX_PARTICLES = 50;
//圆点颜色库
var COLOURS = [ "#5ee4ff", "#f44033", "#ffeb3b", "#F38630", "#FA6900", "#f403e8", "#F9D423" ];
var particles = [];
var pool = [];
var clickparticle = Sketch.create({
container : document.getElementById('clickCanvas')
});
clickparticle.spawn = function(x, y) {
if (particles.length >= MAX_PARTICLES)
pool.push(particles.shift());
particle = pool.length ? pool.pop() : new Particle();
particle.init(x, y, random(5, 20));//圆点大小范围
particle.wander = random(0.5, 2.0);
particle.color = random(COLOURS);
particle.drag = random(0.9, 0.99);
theta = random(TWO_PI);
force = random(1, 5);
particle.vx = sin(theta) * force;
particle.vy = cos(theta) * force;
particles.push(particle);
};
clickparticle.update = function() {
var i, particle;
for (i = particles.length - 1; i >= 0; i--) {
particle = particles[i];
if (particle.alive)
particle.move();
else
pool.push(particles.splice(i, 1)[0]);
}
};
clickparticle.draw = function() {
clickparticle.globalCompositeOperation = 'lighter';
for ( var i = particles.length - 1; i >= 0; i--) {
particles[i].draw(clickparticle);
}
};
//按下时显示效果,mousedown 换成 click 为点击时显示效果(我用的 click)
document.addEventListener("mousedown", function(e) {
var max, j;
//排除一些元素
"TEXTAREA" !== e.target.nodeName && "INPUT" !== e.target.nodeName && "A" !== e.target.nodeName && "I" !== e.target.nodeName && "IMG" !== e.target.nodeName
&& function() {
for (max = random(15, 20), j = 0; j < max; j++)
clickparticle.spawn(e.clientX, e.clientY);
}();
});
}
:huaji13: 部署方法:
复制上面的 js 代码到主题的主 js 文件最下面,或者保存为一个单独的 js 文件,然后引入主题。
<script src="js路径"></script>
,将该代码保存到主题的footer.php最底部即可生效
然后在页面 body 标签中加入 <div id="clickCanvas" style=" position:fixed;left:0;top:0;z-index:999999999;pointer-events:none;"></div>
WordPress 主题可以找主题的 header.php 文件在<body>
下方(如果 header.php 中没有,请全盘搜素下 <body
),加入以下代码。
<?php if(!wp_is_mobile()): ?>
<div id="clickCanvas" style=" position:fixed;left:0;top:0;z-index:999999999;pointer-events:none;"></div>
<?php endif; ?>
文章有(5,497)条网友点评
dark markets darknet market links
tor markets dark web drug marketplace
darknet market lists dark web markets
dark markets dark market url
bitcoin dark web deep web markets
darknet market lists best darknet markets
deep web drug store tor market
deep web drug links tor market links
deep web drug links darkweb marketplace
darknet websites deep web drug markets
darknet market list darknet drug market
tor market url tor dark web
deep web drug url dark market url
cheap brand name cialis
deep web drug markets drug markets dark web
reputable canadian online pharmacies
online pharmacy reviews
deep web markets dark market list
tor markets 2022 darknet market links
dark market url dark web market list
dark web market links darkmarket
darkmarket 2022 deep web drug url
dark market list dark markets 2022
drug markets dark web darknet markets
cialis 5mg price
where can you buy sildenafil
deep web drug links drug markets dark web
tor darknet darknet drug store
Great post. I’m facing many of these issues as well..
deep web drug url dark market onion
dark web link dark market
Excellent blog here! Also your site loads up very fast! What web host are you using?
Can I get your affiliate link to your host? I wish my website loaded up as quickly as yours lol
prinivil cost
tor darknet tor marketplace
drug markets dark web dark markets 2022
us over the counter viagra
dark market onion tor market url
darkmarket list deep web drug markets
drug markets dark web dark market list
adderall xr online pharmacy
buy drugs from canada
darknet websites darknet marketplace
darkmarkets darknet drug market
If some one desires to be updated with most recent technologies after that he must be
pay a visit this web site and be up to date daily.
drug markets dark web tor marketplace
darknet market darknet websites
canadian pharmacy tadalafil
darknet market lists bitcoin dark web
sildenafil tabs 50mg
dark market deep web markets
dark web market list tor markets 2022
tor market links darknet websites
darknet marketplace tor darknet
dark web market list dark web market
tor marketplace darkmarket list
darkweb marketplace drug markets onion
tor darknet dark web link
darknet market list dark markets
deep web drug links darkmarket link
dark markets 2022 darkmarket 2022
deep web drug markets deep web drug url
tor market links dark web market list
darkmarket tor markets 2022
tor dark web onion market
drug markets dark web dark markets 2022
reliable online pharmacy
cvs pharmacy online refill
tor markets links darknet drug store
darkmarkets darknet drug links
dark market link darknet market lists
dark market 2022 tor markets links
deep web drug url deep web markets
dark markets 2022 dark market link
dark web market links tor market
darknet market dark web markets
darkmarket 2022 darknet market lists
tor marketplace best darknet markets
drug markets dark web tor market links
purchasing viagra
dark market list darknet websites
darknet market darkmarket list
dark web markets dark market
deep web drug url darkmarket
dark web market list onion market
onion market dark web drug marketplace
tor markets 2022 darkmarkets
onion market dark market 2022
dark markets darkmarket url
darkmarket link darkmarket link
onion market darknet market
viagra 1 tablet price
dark market onion tor markets
cialis online pharmacy
online discount pharmacy
dark markets 2022 darknet market links
darknet market lists darknet market lists
bitcoin dark web dark web sites
darkmarket list darknet market
viagra online with prescription
onion market dark web markets
generic viagra tablets
Hey! I’m at work browsing your blog from my new apple iphone!
Just wanted to say I love reading through your blog and look forward to all
your posts! Keep up the fantastic work!
cheap generic cialis canada
tor markets darkmarket list
bitcoin dark web dark web market
darknet marketplace dark market onion
darknet websites dark markets 2022
deep web drug markets darknet drug links
dark web market list darknet market list
darknet market list onion market
dark web links tor darknet
dark markets 2022 darknet market links
darknet marketplace tor market links
deep web markets dark markets
tor marketplace dark web market links
deep web drug links darknet market lists
dark web drug marketplace dark web sites
dark market link darkmarket 2022
tor darknet deep web drug links
tor markets links dark web sites
darknet marketplace dark market url
tor marketplace tor dark web
onion market darknet drug store
deep web drug markets tor darknet
dark market list darknet drug market
tor markets 2022 darknet drug links
dark markets tor market url
dark web market list onion market
dark web market links bitcoin dark web
dark market deep web drug url
deep web drug links tor markets 2022
dark web links dark web market
deep web markets darknet marketplace
online pharmacy degree programs
legal online pharmacy
tor market url darknet market list
dark market 2022 drug markets dark web
tadalafil 10mg coupon
bitcoin dark web darknet market list
dark web sites dark web link
how to get propecia in australia
darkmarket darkmarkets
darknet markets dark market url
tor markets links tor markets 2022
darkmarket url dark market link
darkmarket link dark web market links
cvs pharmacy jobs apply online
online pharmacy tech programs
deep web drug store dark market
darknet drug links dark market 2022
tor dark web dark web drug marketplace
darknet market links deep web drug store
dark market onion darkweb marketplace
dark market url darkmarket
low dose erythromycin erythromycin ophth oint 3.5gm
onion market bitcoin dark web
dark web market links dark market onion
dark web sites darkmarket list
amoxicillin 500 mg brand name
darknet drug store darkmarkets
It’s actually very complicated in this full of activity
life to listen news on Television, so I just use the web for that reason, and obtain the hottest information.
dark web links darknet markets
darknet market links tor market links
deep web drug store darkmarket list
darknet marketplace dark web links
darknet markets darknet drug links
walmart pharmacy refill online
online pharmacy tech program
deep web drug links darkmarkets
Thanks for sharing your info. I really appreciate your
efforts and I am waiting for your further write ups thank you once again.
darknet markets tor markets 2022
bitcoin dark web dark market url
I’m impressed, I have to admit. Rarely do I come across a blog that’s both
equally educative and interesting, and without a doubt,
you’ve hit the nail on the head. The problem is an issue that not enough men and women are speaking intelligently about.
I’m very happy I stumbled across this during my hunt for something regarding this.
tor marketplace bitcoin dark web
dark market list darknet marketplace
retin a 1 cream canada
dark markets deep web drug markets
darknet market lists deep web drug links
dark web sites darknet drug market
dark market link dark market link
darknet websites dark web links
deep web drug links drug markets onion
tor market darknet markets
darkmarkets darkmarket list
deep web drug url dark web drug marketplace
bitcoin dark web dark web markets
female viagra paypal
deep web drug url dark market list
darknet market dark web market links
tor market dark web link
dark web market links tor markets
costco pharmacy online
pharmacy no prescription
dark market onion darkmarkets
drug markets onion darkmarket
tor marketplace darkmarket link
darkmarket list dark markets
Helpful information. Lucky me I found your site unintentionally, and I am shocked why this twist of fate did not took place earlier!
I bookmarked it.
best over the counter clomid
darknet market list dark markets
dark web market dark web sites
dark market link darkmarkets
dark web markets tor markets
dark market onion tor markets links
My partner and I absolutely love your blog and find most of your post’s to be exactly
what I’m looking for. Does one offer guest writers to write content for you personally?
I wouldn’t mind composing a post or elaborating on some of the subjects you write in relation to here.
Again, awesome website!
tor markets links dark web market
darknet drug links dark market
darkmarket dark web markets
dark web sites onion market
tor markets deep web drug links
tor marketplace dark web links
dark web markets tor market links
dark web market dark market url
tor markets links deep web drug url
dark web sites darknet websites
trazodone 0.5 mg
darknet drug links deep web drug links
tor marketplace deep web drug markets
tor markets 2022 darknet markets
ventolin cost uk
dark market onion dark markets 2022
darknet markets deep web drug store
dark web links tor market links
pharmacy no prescription
vyvanse online pharmacy
dark web market list darknet market list
dark market url dark markets
purchase ivermectin
darknet market tor marketplace
darknet market lists tor marketplace
dark web market list dark market 2022
dark market list deep web drug store
tor markets 2022 dark market
darkmarkets tor marketplace
deep web drug markets darknet drug market
tor markets darknet drug store
dark market link darkmarket 2022
darknet market lists darknet marketplace
dark market dark market
dark markets dark web market list
propecia 1mg price
darknet drug links tor darknet
dark market 2022 dark web markets
doxycycline prescription online
darknet websites darknet websites
dark markets 2022 onion market
order zovirax online
tor markets links tor dark web
darknet market lists darknet market
tor dark web bitcoin dark web
deep web drug url dark web market list
dark market url darknet drug market
darkmarket darknet marketplace
tor market url darknet websites
darkmarket url dark market 2022
tor market dark market 2022
bitcoin dark web dark market list
dark web markets tor dark web
tor marketplace dark web link
darkmarket 2022 deep web drug url
darknet market links darkmarket list
zovirax 200mg tablets price in india
dark markets darkweb marketplace
dark web markets tor market links
darknet marketplace darknet market links
tor dark web dark web market list
cipro flagyl
prednisolone cost in india
deep web drug links dark web market
acyclovir 800 mg tablet price
onion market darkmarket link
tor markets links darkmarket link
dark market onion darknet market
darknet marketplace deep web drug markets
tor darknet deep web drug url
deep web drug markets drug markets dark web
darkmarket url darkmarket list
dark web markets tor dark web
darkmarket 2022 dark market link
darknet drug store darknet drug links
dark web market darknet marketplace
darkmarket list onion market
darknet markets darknet drug links
drug markets dark web tor markets
darknet drug links tor markets
dark markets 2022 onion market
Hello, i think that i saw you visited my web site so i came to “return the favor”.I’m attempting
to find things to improve my site!I suppose its ok to use a few of your ideas!!
I have been browsing online more than 2 hours today, yet I never found any interesting article like
yours. It is pretty worth enough for me. In my view,
if all web owners and bloggers made good content as you did,
the internet will be much more useful than ever before.
tor dark web tor market
tor markets darknet markets
darknet websites tor market links
dark web links darknet websites
tor market darknet markets
stromectol australia
tor market url dark markets 2022
darknet websites darknet market lists
darkmarket list dark market list
best darknet markets dark market 2022
darknet websites dark web drug marketplace
deep web drug url darkmarkets
dark web link dark web links
I like the helpful info you provide for your articles.
I will bookmark your weblog and take a look at once more right here
regularly. I am fairly certain I’ll be informed
lots of new stuff proper right here! Good luck
for the following!
darkmarkets darknet drug market
darknet market dark web link
My spouse and I stumbled over here from a different web
address and thought I might check things out. I like what I see so i am just following you.
Look forward to looking at your web page yet again.
darkmarket url dark web drug marketplace
buy cheap doxycycline
darknet market list dark market url
dark web link darkmarket list
darknet market lists darknet market lists
generic viagra india
tor dark web darkmarket list
cvs pharmacy online refill
Buy Prescription Drugs Online
tor darknet tor market
best darknet markets deep web drug store
darknet marketplace darknet drug links
dark market url tor markets 2022
darkmarket link deep web drug links
dark market list darknet drug market
dark market url dark web markets
�You ready?� I asked.
dark web markets darknet market
darknet market list dark web markets
tor markets 2022 darkmarkets
deep web drug links darknet market links
bitcoin dark web dark market list
tor markets 2022 darknet drug links
darknet drug market dark web links
drug markets onion darkmarket list
darkmarket 2022 dark market
darknet market lists dark web link
dark web sites dark web drug marketplace
darknet market list darknet drug store
dark market link darknet websites
tor markets links darkmarket 2022
darkmarket 2022 bitcoin dark web
dark markets darkweb marketplace
darknet drug market darkmarket 2022
dark market link darkmarket link
dark web link darknet websites
tor marketplace dark web market links
darkmarket list dark market 2022
dark market onion tor markets 2022
darknet market drug markets dark web
bitcoin dark web darknet market lists
darknet market dark market onion
darknet drug links dark market
acyclovir tablet 200 mg price
darkmarket link tor markets 2022
acyclovir 200 mg
dark web links dark web links
dark web links tor market links
online pharmacy hydrocodone
canadian online pharmacy
dark markets darknet drug links
dark market link tor market
deep web drug store darkmarket list
Wow, fantastic weblog format! How long have you been running a blog for?
you make running a blog glance easy. The overall glance of your site is great, let alone the content material!
darkweb marketplace dark market link
darknet drug store darknet market links
buy lisinopril 10 mg uk
dark market list dark web market list
dark market 2022 darkmarket link
deep web drug store best darknet markets
deep web drug links darkmarket url
darkmarket 2022 darknet market list
dark web market links tor markets links
dark markets 2022 darkweb marketplace
dark web market links dark web link
viagra over the counter uk price
darknet market lists tor marketplace
darknet marketplace dark web market links
darknet websites onion market
tor market tor market links
darknet markets tor market links
deep web markets darknet market
dark web sites darkmarkets
dark market list dark web market links
dark web markets deep web markets
tor darknet deep web markets
darknet market deep web markets
darkmarket list drug markets onion
dark web markets dark web link
dark web link tor marketplace
humana pharmacy otc order online
cheap online pharmacy
deep web drug links dark web sites
dark web link dark market list
deep web drug links darkmarket url
Quality articles or reviews is the secret to invite the people to visit the web page, that’s what this site is providing.
darknet market lists darknet drug market
tor darknet bitcoin dark web
best darknet markets darkmarket list
tor markets links deep web drug markets
tor market links