Skip to content

Instantly share code, notes, and snippets.

if (document.attachEvent ? document.readyState === "complete" : document.readyState !== "loading"){
pageisdone();
} else {
document.addEventListener('DOMContentLoaded', pageisdone);
}
clearItems()
function clearItems() {
var rerun = false;
@mattlowe
mattlowe / showlogo.js
Created March 1, 2018 20:40
mainContent Optiv Logo
document.getElementById("mainContent").innerHTML = '<svg enable-background="new 0 0 469 216" version="1.1" viewBox="0 0 469 216" xmlns="http://www.w3.org/2000/svg"><g fill="#383A35"><path d="m138.5 66.6h33.9c19.8 0 31.8 11.7 31.8 28.7v0.2c0 19.2-14.9 29.2-33.5 29.2h-13.9v24.9h-18.3v-83zm32.7 41.8c9.1 0 14.5-5.5 14.5-12.6v-0.2c0-8.2-5.7-12.6-14.8-12.6h-14.1v25.4h14.4z"/><path d="M248.9,83.4h-25.2V66.6h68.7v16.8h-25.2v66.1h-18.2V83.4z"/><path d="m321.4 66.6h18.2v83h-18.2v-83z"/><path d="M367.5,66.6h20.1l21.7,58.4L431,66.6h19.7l-33.5,83.6H401L367.5,66.6z"/><path d="m70.3 65c-23.7 0-43 19.3-43 43s19.3 43 43 43 43-19.3 43-43-19.3-43-43-43zm0 68.2c-13.9 0-25.2-11.3-25.2-25.2s11.3-25.2 25.2-25.2 25.2 11.3 25.2 25.2c-0.1 13.9-11.3 25.2-25.2 25.2z"/></g><path fill="#0055B8" class="st1" d="m70.3 167.7c-21.1 0-38.6 15.2-42.3 35.2h18.4c3.3-10.1 12.8-17.4 23.9-17.4 11.2 0 20.6 7.3 23.9 17.4h18.4c-3.7-20-21.3-35.2-42.3-35.2z"/><path fill="#7DAED3" class="st2" d="m70.3 48.3c21.1 0 38.6-15.2 42.3-35.2h-18.4c-3.3 10.1-12.8 17
document.getElementById("mainContent").innerHTML = '<div class="dijitDialog modal" id="loginMenu" widgetid="loginMenu" title="" style="display: block; opacity: 1; left: 650px; top: 356px;"> <div dojoattachpoint="titleBar" class="dijitDialogTitleBar" tabindex="0" wairole="dialog" role="dialog"> <span dojoattachpoint="titleNode" class="dijitDialogTitle"></span> <span dojoattachpoint="closeButtonNode" class="dijitDialogCloseIcon" dojoattachevent="onclick: hide" style="display: none;"> <span dojoattachpoint="closeText" class="closeText">x</span> </span> </div> <div dojoattachpoint="containerNode" class="dijitDialogPaneContent"> <div class="menuBorder"> <div class="menuHeader">Welcome to UBC Jurisdictional Document Database</div> <fieldset class="menuFieldSet"> <legend class="menuLegend">Login Information</legend> <div id="divEntityID" style="display: block;"> <label class="fieldLabel" for="txtEntityID" title="Entity ID (Alt + I)"> Entity <u>I</u>D:</label> <input id="txtEntityID" accesskey="I" autocomplete="off"

Keybase proof

I hereby claim:

  • I am mattlowe on github.
  • I am mlowe (https://keybase.io/mlowe) on keybase.
  • I have a public key ASCRTHT22JCA4EYjyzoCvEiSa57sSoVgVEIec1-Dhltnego

To claim this, I am signing this object: