Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F60484236
servicenow-inc-autostart-timer.user.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Apr 30, 13:54
Size
1 KB
Mime Type
text/x-c
Expires
Thu, May 2, 13:54 (2 d)
Engine
blob
Format
Raw Data
Handle
17358873
Attached To
rSERVICENOWUSERSCRIPTS servicenow-userscripts
servicenow-inc-autostart-timer.user.js
View Options
// ==UserScript==
// @name ServiceNow - Automatically start the incident timer
// @namespace support.epfl.ch
// @description Start the time counter automatically when an incident is loaded
// @match https://support.epfl.ch/*
// @match https://support-test.epfl.ch/*
// @match https://epfltest.service-now.com/*
// @match https://epfldev.service-now.com/*
// @version 0.2
// @grant none
// ==/UserScript==
// Log
// * 2018.03.23 L.Indermühle: URL has changed from it.epfl.ch to support.epfl.ch
// * 2018.02.20 L.Indermühle: Timer no longer mandatory and started by default, is this script still useful?
// * Apparently there are various different start buttons, I'm now using the
// image to find the button
// -- 2015-09-11 Florian Vessaz
// * Initial version
// -- 2015-09-11 Florian Vessaz
(
function
()
{
'use strict'
;
function
main
()
{
// var button = document.getElementById("link.incident.time_worked").parentElement;
// if (button != null) {
// button.click();
// }
// Bon, rien ne marche, 28 aout 2017... je laisse comme ça, plus le temps :(
console
.
log
(
'tesssssssssssssssst ......................... !!!!!!!!!!!!!!!!!!!!!!'
);
}
setInterval
(
main
,
1000
);
})();
Event Timeline
Log In to Comment