just play online games and avoid looking to some sites when you know that the online game you are playing is hosting some kind of betting. You can limit you bankroll so you can avoid spending too much while still gambling and make it disappear little by little.
It's not possible, because when people start involving into online activities to avoid gambling at some instance sure they'll show interest on gambling in a short term after giving a pause for gambling for addiction.