All Projects → piemadd → fyu

piemadd / fyu

Licence: AGPL-3.0 license
Do your users take your website for granted? Do want to make them using your website living hell? Look no further, F.Y.U. is here!

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to fyu

rottenjs
An all-in-one (2.6kb) Javascript library for web development
Stars: ✭ 15 (-71.7%)
Mutual labels:  web-development, javascript-framework, javascript-library
picoCSS
picoCSS - really small JavaScript Framework
Stars: ✭ 62 (+16.98%)
Mutual labels:  javascript-framework, javascript-library
Tui
This is a high quanlity components library for VUE
Stars: ✭ 258 (+386.79%)
Mutual labels:  javascript-framework, javascript-library
Smart Webcomponents
Web Components & Custom Elements for Professional Web Applications
Stars: ✭ 110 (+107.55%)
Mutual labels:  javascript-framework, javascript-library
Modern.JS
모던 자바스크립트 라이브러리/프레임워크 × KIPFA(한국인터넷전문가협회)
Stars: ✭ 16 (-69.81%)
Mutual labels:  javascript-framework, javascript-library
Javascript Avanzado En Espanol
Esta es una traducción de la serie de libros de You Don't Know JS (book series), la cual es una serie de 6 libros que navegan profundamente en los mecanismos básicos y avanzados del lenguaje JavaScript. La primera edición de la serie está ahora completa.
Stars: ✭ 118 (+122.64%)
Mutual labels:  javascript-framework, javascript-library
Web Audio Javascript Webassembly Sdk Interactive Audio
🌐 Superpowered Web Audio JavaScript and WebAssembly SDK for modern web browsers. Allows developers to implement low-latency interactive audio features into web sites and web apps with a friendly Javascript API. https://superpowered.com
Stars: ✭ 68 (+28.3%)
Mutual labels:  javascript-framework, javascript-library
Wind Js
An demo animation of wind on a Canvas layer in the JSAPI
Stars: ✭ 548 (+933.96%)
Mutual labels:  web-development, javascript-library
Vivid
a JavaScript library which is built to easily customize and use the SVG Icons with a blaze.
Stars: ✭ 1,797 (+3290.57%)
Mutual labels:  javascript-framework, javascript-library
DevHelpBox
we are creating this community so that other developers can get benefits of it.
Stars: ✭ 35 (-33.96%)
Mutual labels:  web-development, javascript-library
purescript-pop
😃 A functional reactive programming (FRP) demo created with PureScript events and behaviors.
Stars: ✭ 33 (-37.74%)
Mutual labels:  web-development, javascript-framework
Fine Uploader
Multiple file upload plugin with image previews, drag and drop, progress bars. S3 and Azure support, image scaling, form support, chunking, resume, pause, and tons of other features.
Stars: ✭ 8,158 (+15292.45%)
Mutual labels:  web-development, javascript-library
Angular Esri Map
A collection of directives to help you use Esri maps and services in your Angular applications
Stars: ✭ 213 (+301.89%)
Mutual labels:  web-development
Front End Checklist
🗂 The perfect Front-End Checklist for modern websites and meticulous developers
Stars: ✭ 57,386 (+108175.47%)
Mutual labels:  web-development
Javascripter
Helping junior developers navigate the complex world of software engineering without experiencing information overload.
Stars: ✭ 203 (+283.02%)
Mutual labels:  web-development
Rql
Resource Query Language for REST
Stars: ✭ 190 (+258.49%)
Mutual labels:  web-development
vanillaview
Easy to use views with vanilla JS semantics
Stars: ✭ 12 (-77.36%)
Mutual labels:  javascript-library
React Arcgis
A few components to help you get started using the ArcGIS API for JavaScript and esri-loader with React
Stars: ✭ 251 (+373.58%)
Mutual labels:  web-development
Front End Performance Checklist
🎮 The only Front-End Performance Checklist that runs faster than the others
Stars: ✭ 13,815 (+25966.04%)
Mutual labels:  web-development
Rocket
A web framework for Rust.
Stars: ✭ 15,760 (+29635.85%)
Mutual labels:  web-development

FYU

Do your users take your website for granted? Do want to make using your website living hell? Look no further, F.Y.U. is here! Oh yeah, FYU stands for something 👀.

(PS you might recognize my name from my url lengthener which went viral a few weeks back)

Getting the script

Getting the script is super easy, as it is hosted with jsDelivr (seriously that site is awesome!). All you need to do is put this at the end of the body of your site:

<script src="https://cdn.jsdelivr.net/npm/fyu/fyu.min.js"></script>

Note: You can technically put it anywhere, but this script is pretty low priority to load.

Activating the Script

Actually using the script is really easy, but you might not want to use every function, so here's a litte guide:

  • loadElems() - This loads all of the elements currently on the page. You need to run this before you run any of the functions below (with the exception of makeithell()) or else it will not work.
  • makeItHell() - You have no care for the world. Every knob at the max.
  • shiftHorizontalRandom() - Shifts each element randomly left or right 4 times per second
  • shiftVerticalRandom() - Shifts each element randomly up or down 4 times per second
  • shiftRandom() - Does both shiftHorizontalRandom() and shiftHorizontalRandom at once
  • rotateRandom() - Rotates each element randomly 4 times per second. Highly unreccomended as it can interfere with the shifting functions and just look exceptionally displeasing on it's own.
  • runAway() - Makes every element "run away" from the cursor when hovered over
  • colorsRandom() - Changes every element's color and background color every 2.5 seconds
  • opacityRandom() - Changes every element's opacity every 5 seconds

Selecting Certain Elements

Now, lets say you want some elements to stay unchanged, like if you have a div which pretty much contains the entire site. All you need to do is add the dontNuke class to those HTML elements. For example, here is a <p> which would be affected and one which wouldn't:

Affected:

<p>Hello there! uwu</p>

Not Affected:

<p class="dontNuke">Hello there! uwu</p>

Contributing

If you would like to add your own nuking functions to this script, simply make a pr with the asyncronous function added to fyu.js and the call to the said function inside of makeItHell(). Don't worry about minifying fyu.js, as I'll end up doing that myself. If the function(s) you add aren't asyncronous, I'll comment on your pr to make the change. The reason we want to do this is to not interfere with any other scripts or functions within this script.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].