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
Size
2.83 กิโลไบต์
สัญญาอนุญาต
ไม่มี
ปรับใช้กับ

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