Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Show tooltips as text
  3. // @namespace cloudpipeline.digital
  4. // @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.
  5. // @include https://ccci.lodgify.net/
  6. // @version 1
  7. // @grant none
  8. // ==/UserScript==
  9. var readyStateCheckInterval = setInterval(function() {
  10. if (document.readyState === "complete") {
  11. clearInterval(readyStateCheckInterval);
  12. setTimeout(function() {
  13. console.log("applying script from Tampermonkey: Show tooltips as text");
  14. $('.pipeline-grid a').css('font-size', '14px').css('text-align', 'center').css('font-weight', 'bold');
  15. $("[data-tooltip]").each(function( index ) {$( this ).children().first().prepend($(this).attr('data-tooltip')) });
  16. }, 1000);
  17. }
  18. }, 10);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement