Skip to content

Instantly share code, notes, and snippets.

let isMyMatchesPage = window.location.href.includes(
"aoe2de-matches-my-recent-matches"
);
let isProfilePage = window.location.href.includes("profile-");
let COL_INDEX = undefined;
let LINK_LOCATION_PREFIX = undefined;
let LINK_LOCATION_POSTFIX = undefined;
let TABLE = undefined;
@thbrown
thbrown / http-only-cookie-middleware.js
Last active October 17, 2019 04:21
Middleware for offline logout w/ httpOnly session cookie