I hereby claim:
- I am dbrewitz on github.
- I am dbrewitz (https://keybase.io/dbrewitz) on keybase.
- I have a public key ASAeNe0cJVrYGI3iYuSJOk0uco-4cobMCGjGrjNxgHuVOAo
To claim this, I am signing this object:
// Client side script to add total estimated hours, actual hours, and difference in ClickUp.com list views | |
// Use with Custom JS for websites: https://chrome.google.com/webstore/detail/custom-javascript-for-web/ddbjnfjiigjmcpcpkmhogomapikjbjdk?hl=en | |
function addElement() { | |
let el = document.querySelector('.lv-body'); | |
if (el) { | |
elChild = document.createElement('div'); | |
elChild.className = 'totalTime'; | |
elChild.style.textAlign = 'center'; | |
elChild.style.fontWeight = 700; |
I hereby claim:
To claim this, I am signing this object:
// These functions could be combined into one edit at a time. | |
// Set all Zoho projects from null to medium in custom "County Priority" field | |
function ZohoProjectStatusUpdate() { | |
var ele = document.querySelectorAll('.dropDownMenu .pointer[onclick*="ajaxShowPag"]') | |
for (var i = ele.length; i >= 0; i--) { | |
(function (index) { | |
setTimeout(function () { | |
ele[index].click() | |
changeItup(index) |
// a script to add a script link or css link to the head of a html page | |
function addMyLink(element, url, type, rel, id) { | |
var head = document.getElementsByTagName('head')[0] | |
var myLink = document.createElement(element) | |
if (element === 'script') { | |
myLink.src = url | |
} else if (element === 'link') { | |
myLink.href = url | |
if(rel){myLink.rel = rel} | |
} |
// Universal Analytics events that include common element attributes | |
var gaPush = { | |
p: function (element, cat, action, type) { | |
var el = document.querySelectorAll(element) | |
for (var i = 0; i < el.length; i++) { | |
el[i].addEventListener('click', function () { | |
var attr = { | |
title: eval('this.title'), | |
alt: eval('this.alt'), | |
value: eval('this.value'), |