royalmo / itic-copilot

The browser extension that every iTIC student should have!
GNU General Public License v3.0
3 stars 2 forks source link

Easter eggs !! #64

Open royalmo opened 2 years ago

royalmo commented 2 years ago

As promissed, I need to add some easter eggs!! Here are some ideas I could implement:

Timetable flipper

Using element.style.transform = 'rotate(90deg)';, flip every element (table) on the timetables. image

Feel free to add some ideas, I have a shortage of them :/

royalmo commented 2 years ago

User interface

When enabling easter eggs in the settings menu, make the switch do something weird (i.e. spinning non-stop).

royalmo commented 2 years ago

OpenCourseWare

10% Change of getting 'Enginyeria de sistemes TOC', and every HTML element will have a margin of a random number between 1 and 5 px. It will look sooo ugly :/

const allInBody = document.querySelectorAll('*');
for (const element of allInBody) {
    console.log('a');
    element.style.marginLeft = Math.floor(Math.random() * 21 - 5) + "px";
}
royalmo commented 2 years ago

Atenea

Chrome's offline dinousaur game, in the blue banner.

Escriny

All draggable in the landing page. Check this: https://stackoverflow.com/questions/2424191