Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions GitHub projects - highlight my user.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name GitHub projects - highlight my user
// @namespace https://www.wildfireinternet.co.uk/
// @version 0.1
// @version 0.2
// @description background colour change for my user's tasks ;D
// @author Andrew
// @match https://github.com/*/*/projects/*
Expand All @@ -11,8 +11,10 @@
(function() {
'use strict';

var myUsername = "stilliard"; // Replace "stilliard" with your username

var style = document.createElement('style');
style.innerHTML = 'article[data-card-assignee="\\[\\"stilliard\\"\\]"] { background-color: #e3f9d4 !important; }';
style.innerHTML = 'article[data-card-assignee*="' + myUsername + '"] { background-color: #2c2f29 !important; }';
document.body.appendChild(style);

})();