This would be a bit different since alcohol physiologically changes your body’s chemistry to make it more difficult to produce dopamine without it. In the case of browsing the web, I would suppose your body would start to need it to create the arousal you get from it (similar to porn), but I wouldn’t say it exactly the same.
However, similar to alcohol, abstaining from it and trying to substitute it with something else (check out this article for more info on that) will slowly reduce its power over you with time.
Hope that helps and thanks for reading!