m08pvv / HabrahabrGeektimes

// ==UserScript==
// @namespace    https://openuserjs.org/users/m08pvv
// @name         HabrahabrGeektimes
// @description  Highlight editor's news on Habrahabr.ru and Geektimes.ru
// @copyright    2018, m08pvv (https://openuserjs.org/users/m08pvv)
// @version      2018.04.25
// @license      MIT
// @include      https://geektimes.ru/*
// @include      https://habrahabr.ru/*
// @include      https://geektimes.com/*
// @include      https://habr.com/*
// @run-at document-end
// @grant none
// ==/UserScript==

// ==OpenUserJS==
// @author m08pvv
// ==/OpenUserJS==

if (document.getElementsByClassName('user-info__specialization')[0].innerText.includes('Редактор')){
    document.getElementsByTagName('article')[0].style['background-color']='#FFFFAA';
}