Friday Bonus Hunts card: say plainly when an unopened inbox ad is what blocks today
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -3075,6 +3075,7 @@ async function loadFridayBank() {
|
||||
let msg = '';
|
||||
if (b.isFriday) msg = b.banked ? '<b>It\'s Friday.</b> Your ' + b.banked + ' banked hunt' + (b.banked === 1 ? '' : 's') + ' are live on <a href="/api/my/polhunter">PolHunter</a> today.' : 'It\'s Friday. Bank hunts Saturday through Thursday for next Friday.';
|
||||
else if (t && t.banked) msg = '✓ <b>Today is banked.</b> Come back tomorrow to bank another.';
|
||||
else if (t && t.video && t.soloNeeded && !t.solo) msg = '✓ Video watched. <b>Not banked yet:</b> an inbox ad is waiting for you today, and a day only counts once it is opened. <a href="#" data-earn-go="inbox">Open the inbox ad</a> and today is banked. (On days when nothing is waiting in your inbox, the video alone counts, which is why some days banked without one.)';
|
||||
else if (t) msg = 'To bank today: ' + (t.video ? '✓ video watched' : '<a href="#" data-earn-go="videos">watch one video</a>') + (t.soloNeeded ? ' and ' + (t.solo ? '✓ inbox ad opened' : '<a href="#" data-earn-go="inbox">open one inbox ad</a>') : ' (no inbox ad waiting, so the video alone counts)') + '.';
|
||||
const el = document.getElementById('fbankToday'); el.innerHTML = msg;
|
||||
el.querySelectorAll('[data-earn-go]').forEach(a => a.addEventListener('click', ev => { ev.preventDefault(); const tab = document.querySelector('[data-earn="' + a.dataset.earnGo + '"]'); if (tab) tab.click(); }));
|
||||
|
||||
+1
-1
@@ -1084,7 +1084,7 @@
|
||||
<script src="/assets/common.js?v=20260923b"></script><script src="/assets/welcome.js?v=20260923b"></script>
|
||||
<script src="/assets/wallet.js?v=20260911a"></script>
|
||||
<script src="/assets/promo.js?v=20260929c"></script>
|
||||
<script src="/assets/my.js?v=20260929e"></script>
|
||||
<script src="/assets/my.js?v=20260929f"></script>
|
||||
<script src="/assets/chat.js?v=20260907l"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user