Skip to content

Instantly share code, notes, and snippets.

Avatar

Artur arturz

View GitHub Profile
View Dzień Żaby 2017 .js
{
const FIRE = String.fromCodePoint(0x1F525);
const savePos = (element, storage_key) => {
let {left, top} = element.style;
localStorage.setItem(storage_key, [left, top].join(','));
}
const appendCorners = (parent) => {
const common = {
View getCertainCookie.js
//returns value of cookie
const getCookie = name => Object(
document.cookie.match(
new RegExp(name+'=([^]*?)(;|$)')
)
)[1]
You can’t perform that action at this time.