Login slots: 1,000 credits, at most 3 member slots live; viewer gets an open-in-tab link

Marty (2026-09-19): cap the login-ad slots. About 124 members sign in a day and every live
slot shares those views, so a fourth slot only thins the other three. Member slots only;
house login ads now step aside whenever a member slot is running (JSON: filtered out of the
pool; MySQL: ORDER BY house ASC). The 14 slots already running keep their term; new buys are
refused until one ends. Format label and chatbot updated.

mindfulmojo (email, 2026-09-19): the viewer frames the advertiser's page and both controls
meant "back"; some sites refuse to load inside a frame and signing up is easier in a full tab.
The viewer bar now carries "Open site in a new tab", set from the ad's target URL.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-09-19 07:46:12 -05:00
parent f282e328b5
commit a85ee4cacf
5 changed files with 6 additions and 3 deletions
+1
View File
@@ -115,6 +115,7 @@
}
left = info.dwell || 5;
$('vFrame').src = info.targetUrl;
const vo = $('vOpen'); if (vo) { vo.href = info.targetUrl; vo.hidden = false; } // a way out to the real site (mindfulmojo, 2026-09-19)
setMsg('Watching: ' + (info.adName || 'member ad') + ' — stay on this tab.');
$('vTimer').textContent = left + 's left';
timer = setInterval(tick, 250);
+1 -1
View File
@@ -492,7 +492,7 @@
<p><select id="cType" style="width:100%">
<option value="banner">Banner (per impression)</option>
<option value="text">Text ad (per impression)</option>
<option value="login">Login ad (per day)</option>
<option value="login">Login ad (30-day slot)</option>
<option value="solo">Solo ad (inbox delivery)</option>
<option value="video">Video ad (watch to earn)</option>
<option value="featured">Featured link (rotation)</option>
+2 -1
View File
@@ -37,6 +37,7 @@
<span class="vbrand">Instant<em>AdPay</em></span>
<span class="vtimer" id="vTimer">…</span>
<span class="vmsg" id="vMsg">Loading the ad…</span>
<a class="btn small sec" id="vOpen" target="_blank" rel="noopener" hidden title="Some sites refuse to load inside a frame, and signing up is easier in a full tab">Open site in a new tab ↗</a>
<span class="vcheck" id="vCheck"><span class="prompt" id="vPrompt"></span><span id="vOpts"></span></span>
<span class="vdone" id="vDone">
<a class="btn small" href="/my#earn">Back to dashboard</a>
@@ -45,6 +46,6 @@
</div>
<iframe class="vframe" id="vFrame" sandbox="allow-scripts allow-same-origin allow-forms allow-popups" referrerpolicy="no-referrer" title="Advertiser site"></iframe>
</div>
<script src="/assets/view.js?v=20260908b"></script>
<script src="/assets/view.js?v=20260919a"></script>
</body>
</html>