Skip to content

gurvanrenault/memz.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published