Skip to content

Instantly share code, notes, and snippets.

View kevinyou's full-sized avatar

Kevin You kevinyou

View GitHub Profile
@kevinyou
kevinyou / eminvert.css
Created April 5, 2016 05:21
EpicMafia Inverted userstyle
@charset "utf-8";
@-moz-document regexp('(https?://)?(www\\.)?epicmafia\\.com(/(?!user/\\d+)(?!u/).*)?')
{
/* The main invert/hue change statement. */
html {
-webkit-filter: invert(100%) /**/;
-moz-filter: invert(100%) /**/;
-ms-filter: invert(100%) /**/;
-o-filter: invert(100%) /**/;
@kevinyou
kevinyou / amplitude-fork.js
Created March 9, 2023 18:04
@amplitude/ua-parser-js vs ua-parser-js
/////////////////////////////////////////////////////////////////////////////////
/* UAParser.js v0.7.31
Copyright © 2012-2021 Faisal Salman <f@faisalman.com>
MIT License */ /*
Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data.
Supports browser & node.js environment.
Demo : https://faisalman.github.io/ua-parser-js
Source : https://github.com/faisalman/ua-parser-js */
/////////////////////////////////////////////////////////////////////////////////