Work through common doubts
The questions that come up most often when someone sits down to build a blocker, answered plainly. Each answer links to the page where the subject is treated in depth.
Do I need to know how to code to build a blocker?
Not for the first version. Editing the hosts file requires only a text editor, administrator rights and the ability to follow a short checklist. A browser extension asks for basic JavaScript and JSON, and a local DNS resolver asks for a little networking, but each can be learnt as you go. The planning on the scope page needs no code at all, and it is the part most people skip to their cost. If programming is entirely new to you, the hosts file release plus a key holder is a complete and respectable blocker.
Which blocking layer should I start with?
Start with the layer that matches the moment you want to interrupt. A laptop habit is well served by a browser extension, because it can show a pause page and match patterns. A phone habit needs something below the browser, since phones have many apps and browsers; a device-level filter or a DNS layer is more appropriate. When in doubt, begin with a hosts file on the main device, which covers every app, and add an extension on top. The comparison table on the scope page sets out the trade-offs.
Can a blocker stop every gambling site?
No, and it is better to say so from the start. New domains appear constantly, operators run mirror sites, and a person who wants to bet can borrow a phone or switch networks. A blocker interrupts the automatic route from urge to wager; that interruption is useful on most occasions, and most occasions add up. Writing the known gaps down next to the boundary, and deciding which to close with code and which with a person, keeps the project honest. The safer choices page describes the safeguards that catch what the blocker misses.
How do I stop myself from switching the blocker off?
Add a waiting period before any disable request takes effect, measured in days rather than minutes, and clear the request if the person changes their mind in the meantime. Where possible, give the administrator password or the extension management rights to a trusted person, so that disabling requires a conversation. The urge that wants the blocker off is short-lived; the arrangement should outlast it. The build page shows a small disable-delay function, and the checks page shows how to test it with simulated time.
Should the blocker log what it blocks?
Log decisions, not browsing. Counts of refused requests per day and per rule are enough to confirm the blocker is working and to spot a noisy rule. Storing full URLs turns a safeguard into a browsing history, which is sensitive data and a poor basis for trust between the person and their key holder. Keep any logs on the device, keep them short, allow them to be cleared, and never send them anywhere unless both people have agreed to it explicitly. The checks page expands on a dry-run mode that uses this approach.
Where do I get a list of gambling domains?
Begin with the sites the person actually uses, which usually number fewer than twenty and account for most of the real risk. Public blocklists for content filters exist and can be merged, but review them in chunks rather than trusting them blindly, because they often contain unrelated entries or miss regional operators. Keep the list in version control so changes are visible, add freely, and route removals through the same waiting period as a disable request. The checks page covers maintenance in detail.
Does a blocker work on a phone?
It can, but mobile platforms restrict what third-party software may intercept, and the rules differ between platforms and change over time. On some, a local filtering interface lets an app see and refuse traffic; on others, filtering is limited to managed devices or to the vendor's own controls. Before writing native code, read the current documentation for the device in question and check what the built-in screen-time or parental controls already offer. A DNS layer at the home router does not follow the phone onto mobile data, which is a common gap.
What about adverts, emails and notifications?
Prompts start urges, so reducing them is part of the boundary even though it is not blocking in the strict sense. Unsubscribe from marketing emails, block promotional senders, turn off notifications from any app that mentions odds, and use a general-purpose ad blocker in the browser. A keyword rule in an extension can hide betting content embedded in otherwise ordinary pages, which a DNS layer cannot do. None of this is foolproof, but it lowers the number of moments the blocker has to catch.
How does a blocker fit with self-exclusion?
They work at opposite ends. A blocker refuses pages on your device; self-exclusion asks licensed operators to refuse you as a customer, wherever you log in from. Self-exclusion catches the borrowed phone that your blocker cannot see, while the blocker catches unlicensed sites that no scheme covers. Bank-level gambling blocks add a third layer by stopping the money. Using all three is common and sensible. Which schemes exist, and how they work, varies by country; the safer choices page explains what to look for.
Is a blocker enough on its own?
For someone who wants a little extra friction, perhaps. For someone whose gambling has already caused debt, secrecy or distress, no. A blocker adds a pause; it does not address why the urge keeps arriving, and it cannot help with money already lost. In those situations the blocker should sit alongside a conversation with a trusted person and support from a doctor or a gambling support service. Treat the blocker as one part of a plan rather than the plan itself, and treat a repeated wish to disable it as a signal to talk to someone.