Skip to content

Instantly share code, notes, and snippets.

RickMeijer

Block or report user

Report or block RickMeijer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View replaceHost
const modalContainer = document.createElement("div");
modalContainer.setAttribute("style", "font-family:sans-serif;z-index:999999999999999;line-height:1.6;position:fixed;background:rgba(0,0,0, .5);left:0;top:0;bottom:0;right:0;");
const modal = document.createElement("div");
modal.setAttribute("style", "position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);background:#FFF;padding:1em;min-width:20em;");
const list = document.createElement("ol");
list.setAttribute("style", "list-style:decimal;padding-left:1em;");
const form = document.createElement("form");
You can’t perform that action at this time.