File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 11// ==UserScript==
22// @name GitHub projects - highlight my user
33// @namespace https://www.wildfireinternet.co.uk/
4- // @version 0.1
4+ // @version 0.2
55// @description background colour change for my user's tasks ;D
66// @author Andrew
77// @match https://github.com/*/*/projects/*
1111( function ( ) {
1212 'use strict' ;
1313
14+ var myUsername = "stilliard" ; // Replace "stilliard" with your username
15+
1416 var style = document . createElement ( 'style' ) ;
15- style . innerHTML = 'article[data-card-assignee="\\[\\"stilliard\\"\\]"] { background-color: #e3f9d4 !important; }' ;
17+ style . innerHTML = 'article[data-card-assignee*="' + myUsername + '"] { background-color: #2c2f29 !important; }';
1618 document . body . appendChild ( style ) ;
1719
1820} ) ( ) ;
You can’t perform that action at this time.
0 commit comments