Author: James Cagle

Jim Cagle is the managing partner at Allegent Group, a full-service accounting firm that specializes in helping closely held companies grow their bottom line. Their clients are from start-ups to well-established businesses. Allegent Group.

var observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutationRecord) { // console.log('style changed!'); mutationRecord.target.style.outline='none'; }); }); var divs = document.querySelectorAll('input,textarea,select,a, .gp-more-menu-items-icon'), i; for (i = 0; i < divs.length; ++i) { target = divs[i]; observer.observe(target, { attributes : true, attributeFilter : ['style'] }); }