Last active
November 6, 2019 08:51
-
-
Save mangei/2b9c4963877eaec8152d9ab696139360 to your computer and use it in GitHub Desktop.
Add My Standups Link in CORE
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 Add My Standups Link | |
// @version 1.1 | |
// @author Manuel Geier (manuel@geier.io) | |
// @match https://core.catalysts.cc/communication/standup/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
/***************************** */ | |
/* CONFIGURATION */ | |
var CORE_USER_ID = "12345"; | |
var CORE_HOST = "https://core.catalysts.cc"; | |
/***************************** */ | |
var li = document.createElement("li"); | |
li.className = "pull-left"; | |
var a = document.createElement("a"); | |
a.href = CORE_HOST + "/communication/standup/search?dateFrom=&dateTo=&user=" + CORE_USER_ID + "&organizationUnit=&create=Suchen"; | |
a.innerHTML = "My Standups"; | |
li.appendChild(a); | |
document.getElementsByClassName("nav-tabs")[0].appendChild(li); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment