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
생성일
2023-09-26
갱신일
2024-05-03
크기
2.83KB
라이선스
해당 없음
적용 사이트

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%';.