Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Show tooltips as text
- // @namespace cloudpipeline.digital
- // @description Shows tooltips as text in the concourse dashboards so that jobs names can be seen without hovering. This is to be used with the monitors in our office.
- // @include https://ccci.lodgify.net/
- // @version 1
- // @grant none
- // ==/UserScript==
- var readyStateCheckInterval = setInterval(function() {
- if (document.readyState === "complete") {
- clearInterval(readyStateCheckInterval);
- setTimeout(function() {
- console.log("applying script from Tampermonkey: Show tooltips as text");
- $('.pipeline-grid a').css('font-size', '14px').css('text-align', 'center').css('font-weight', 'bold');
- $("[data-tooltip]").each(function( index ) {$( this ).children().first().prepend($(this).attr('data-tooltip')) });
- }, 1000);
- }
- }, 10);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement