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
// ==UserScript== | |
// @name Colorized Slack | |
// @namespace https://www.netsparker.com/ | |
// @version 1.4.1 | |
// @description Colorizes the message threads. | |
// @author Hakan Arıcı | |
// @include *.slack.com* | |
// ==/UserScript== | |
(function() { |
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(undefined) { | |
'use strict'; | |
// Check if dependecies are available. | |
if (typeof XLSX === 'undefined') { | |
console.log('xlsx.js is required. Get it from https://github.com/SheetJS/js-xlsx'); | |
return; | |
} | |
if (typeof _ === 'undefined') { | |
console.log('Lodash.js is required. Get it from http://lodash.com/'); |
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
/* ---------------------------------------------------------- */ | |
/* */ | |
/* A media query that captures: */ | |
/* */ | |
/* - Retina iOS devices */ | |
/* - Retina Macs running Safari */ | |
/* - High DPI Windows PCs running IE 8 and above */ | |
/* - Low DPI Windows PCs running IE, zoomed in */ | |
/* - Low DPI Windows PCs and Macs running Firefox, zoomed in */ | |
/* - Android hdpi devices and above */ |