A popunder that actually opens behind the page
The swap technique, plus the one line that stops the visitor's own click from cancelling it — the reason most popunder code silently loses the traffic it was supposed to send.
Banner serving, popunders, shortlink APIs, PTC runners and postback handling.
11 entries
The swap technique, plus the one line that stops the visitor's own click from cancelling it — the reason most popunder code silently loses the traffic it was supposed to send.
A 728x90 in a 360px column overflows or gets clipped. Two CSS properties on the iframe and one change in the renderer fix it for every publisher at once.
Pick a creative that matches the slot size, prefer one the visitor has not already been paid for today, and never leave the slot empty.
Fetch the page, look for your token in a meta tag, and only let verified sites earn. The empty-needle bug in this check is worth knowing about before it bites you.
Faucet software already knows how to talk to shortlink providers. Match the contract they expect and operators can point their existing config at you without writing anything.
Signature check, unique constraint, credit inside a transaction. Networks retry postbacks, so the same completion will arrive more than once.
Open the target, run the timer, verify server-side, credit once. The four steps and the checks that belong to each.
Server-held session state, one destination at a time, dwell enforced on the server. The core of a traffic exchange in one table and two functions.
Send N, receive M, and keep the difference as the house margin. The one transaction that moves credits between two members without leaking any.
Check that the request came from the site the slot belongs to. Refuse the credit, never the content — the same rule that keeps you out of trouble everywhere else.
Sponsor, then network, then house, then nothing. One function that means an unsold slot never leaves a hole in the page.