Greasy Fork 支持简体中文。

GC Neggsweeper Tracker

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

作者
sanjix
今日安裝
0
安裝總數
70
評價
0 0 0
版本
0.6
建立日期
2023-09-26
更新日期
2024-05-03
尺寸
2.8 KB
授權條款
未知
腳本執行於

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