Re:A new Gmail inbox
by piyush_soni on Wednesday May 29, 2013 @04:47PM
(#5788959)
Agreed here, same with me. I might end up writing a greasemonkey script for the same soon (quickly insert image via url). If someone is more motivated than me, feel free to do it and share :).
[ Parent
| on HN ]
Re:A new Gmail inbox
by jaredmcateer on Wednesday May 29, 2013 @05:21PM
(#5789188)
You inspired me. Here's a first, hacky, iteration to at least remove one step
(function showMenuInterval() {
Array.prototype.forEach.apply(document.querySelectorAll('[aria-label="Insert more menu"]'), [function(menu) { menu.style.display='none'; }]);
Array.prototype.forEach.apply(document.querySelectorAll('.aZ > .wL.wM'), [function (menu) { menu.classList.add('wN'); menu.classList.remove('wM'); menu.style.width = '186px'; }]);
setTimeout(showMenuInterval, 50);
}());