This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am jdehorty on github. | |
* I am jdehorty (https://keybase.io/jdehorty) on keybase. | |
* I have a public key ASCPp458mwEkCx8eEgR-WD88nVxfFekrRQgHaDs5LH10ggo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ | |
'use strict'; // https://developer.chrome.com/extensions/runtime#event-onInstalled | |
chrome.runtime.onInstalled.addListener(function (details) { | |
if (details.previousVersion) { | |
return; | |
} else { | |
// set new user sid for referrals | |
// send to welcome page where the webpage also checks if they were sent by a referral | |
window.open('https://summarybox.com/welcome', '_blank'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var overlay = document.createElement('div'); | |
Object.assign(overlay.style, { | |
position: 'fixed', | |
top: 0, | |
left: 0, | |
width: '100vw', | |
height: '100vh', | |
zIndex: 99999999, | |
background: 'transparent', | |
cursor: 'crosshair' |