Old: v1.5 - 2024-10-30 - Fix connectivity issue with backend service
New: v2.0 - 2025-01-06 - Changed backend configuration. This is a mandatory update. Older versions of the plug-in will no longer work.
- @@ -2,7 +2,7 @@
- // @name GTPlanet TT Assistant
- // @license MIT
- // @namespace http://www.romeyke.de
-// @version 1.5
- +// @version 2.0
- // @description Enhance user info with details about current time trial
- // @match https://www.gtplanet.net/forum/threads/time-trial-discussion.409515/*
- // @match https://www.gtplanet.net/forum/threads/time-trial-results-and-community-leader-boards.424113/*
- @@ -21,7 +21,7 @@
- const myName = document.querySelector('.p-navgroup-link--user').title;
- names.push(myName);
- const namesStr = names.join(',');
- const data = await fetch(`https://home.romeyke.de:35043/api/entries?gtpNames=${namesStr}&eventFilter=current-all`).then(r => r.json());
- + const data = await fetch(`https://crome.synology.me:3457/api/entries?gtpNames=${namesStr}&eventFilter=current-all`).then(r => r.json());
-
- // navigate to the closest ancestor of the name element that has a class of "message-cell--user" and append a div
- nameElements.forEach(nameElement => {