Giter VIP home page Giter VIP logo

shenmegui.js's Introduction

shenmegui.js

给你的网站一个整蛊的机会


v0.1.0

author by So Aanyip

	shenmegui.js是一个用于开玩笑的js插件,让你的网站随机的播放出不同的提示音(如qq嘀嘀声),所以请不要在严肃正经的场合使用,仅供娱乐(愚人节除外)。声音播放使用HTML5的audio元素,不兼容IE8-。低版本浏览器用户无法听见也算是一种玩笑了。

	最简单用法:
	startJoke(['qq','weibo']);


	function startJoke(arr,min,max)
	@param {Array} arr 要应用的消息声音来源,传入string,如['qq']。现在可用的参数:'qq','weibo'.
	@param {Number} min 最短出现一次声音的时间(毫秒),默认1000.
	@param {Number} max 最长出现一次声音的时间(毫秒),默认30000.

shenmegui.js's People

Contributors

soaanyip avatar

Stargazers

小糖人 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.