Skip to content

Instantly share code, notes, and snippets.

@malles
Created September 23, 2016 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save malles/edc5b01cfc7eea2e575d100a2b99920c to your computer and use it in GitHub Desktop.
Save malles/edc5b01cfc7eea2e575d100a2b99920c to your computer and use it in GitHub Desktop.
Fix alerts table
// ==UserScript==
// @name Fix Alert Tables
// @namespace http://bixie.org/
// @version 0.1
// @description Kill the frogs!
// @author You
// @match https://www.ingress.com/intel
// @grant none
// ==/UserScript==
(function() {
'use strict';
var css = 'td.desc pre {width:200px;overflow:hidden;}',
head = document.head || document.getElementsByTagName('head')[0],
style = document.createElement('style');
style.type = 'text/css';
if (style.styleSheet){
style.styleSheet.cssText = css;
} else {
style.appendChild(document.createTextNode(css));
}
head.appendChild(style);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment