gurvanrenault / memz.js

A Javascript library for trolling and spread the "Internet culture" in your code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Javascript library for trolling and spread the "Internet culture" with your favourite meme through your code

How To Add Memz.js in your webpage

In the head section of your HTML add the script as below

  <head>
  <script src="https://cdn.jsdelivr.net/gh/gurvanrenault/memz.js/memz.min.js"></script>
  </head>

Features

memz.showRandomGIF(t,my_url=false)

Display randomly GIF on the screen every t seconds By default , there is an array of GIF randomly selected You can choose your favourite gif by giving the url

memz.rickRoll(width=window.innerWidth,height=window.innerHeight,startobject=document.body)

Play the video of 'Never Gonna Give You Up' by Rick Astley (fullscreen by default)

memz.ultimateRickRoll()

Play 4 videos of 'Never Gonna Give You Up' by Rick Astley in one window

memz.floodConsole(message)

Send your message every millisecondes in the console

Demo

https://cdn.rawgit.com/gurvanrenault/memz.js/master/memz_test.html

Contributions

Submit your favorite meme or troll

About

A Javascript library for trolling and spread the "Internet culture" in your code

License:MIT License


Languages

Language:JavaScript 83.2%Language:HTML 16.8%