GC Neggsweeper Tracker

Tracks the number of neggs you have received each day. Does not work across multiple devices.

Автор
sanjix
Инсталации дневно
0
Инсталации общо
71
Рейтинг
1 0 0
Версия
0.6
Създаден
26.09.2023
Обновен
03.05.2024
Размер
3 КБ
Лиценз
Няма
Работи на

Updates GC Neggsweeper to add the number of neggs you've won in a day to the grid status area (where remaining safe squares, the flag checkbox, and the current score are displayed).


Some important details:

  • This DOES NOT work across multiple devices. The tracker will display the number of neggs you have won on THAT device.
  • Cross-device is beyond my abilities and probably would require GC to implement this feature internally, which would mean you wouldn't need this script anymore anyway.
  • For best results, you should add form[action='/games/neggsweeper/'] #neggsweeper_status{grid-template-columns: 30% 20% 30% 20%;} to your site CSS. This will keep the status area from jumping around quite so much on each page load.
  • If you want to make tweaks to the styling, you can do so by targeting #trackerHeader and #trackerValue in your site CSS. If you decide you'd rather the information be displayed elsewhere on the page, you'll need to restore the grid status area: change line 60 to gridHeader.style.gridTemplateColumns = '40% 20% 40%';.