Eye-friendly magic in your browser for Instagram
当前为
//
// Written by Glenn Wiking
// Script Version: 0.2.0b
// Date of issue: 08/29/17
// Date of resolution: 08/29/17
//
// ==UserScript==
// @name ShadeRoot Instagram
// @namespace SRIG
// @description Eye-friendly magic in your browser for Instagram
// @version 0.0.1a
// @icon https://i.imgur.com/YKIGT79.png
// @include http://*.instagram.*
// @include https://*.instagram.*
// ==/UserScript==
function ShadeRootIG(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
ShadeRootIG(
// BG 1
'._2v79o {background-color: #1d2327 !important;}'
+
// BG2
'._f9sjj {background-color: #172e42 !important; border: 1px solid #104b84 !important;}'
+
'._68swa {background-color: #91bfd5 !important; padding: .1em !important; border-radius: 1em !important;}'
+
// COLOR 1
'._hxmdu, ._mb54c {color: #c9d2d7 !important;}'
+
// FORM ITEMS BG
'._ph6vk, ._sjplo, input, select, textarea {background: #1d496e !important;}'
+
'._sjplo, input, select, textarea {border: 1px solid #1a6aa5 !important; color: #d0e4ec !important;}'
);