Bypassing tab-under ads of VIVO.st

submited by
Style Pass
2021-07-31 17:30:05

When you go to the page it displays a player, but when you hit play, it opens another tab of itself with something like #tab-krrk657n added to the url. The old tab gets used for ads. This is known as tabunder I think.

This is very frustrating because I dont even see ads on that tab, but it still opens the new tab with many adblockers. 2 wasted clicks.

Let's have a look at the source code and search for "hash" as in location.hash. chomium dev tools, sources tab and pretty print!

shallDisplay = function(timestamp, delay) { if (timestamp > 0 && delay > 0) if (new Date().getTime() - timestamp < delay) return false; return true; }

Yep, the result looks like the value behind the link. Replace the old value with this one in location.href and open it in another browser, just to prove it: confirmation.

So how is this useful? Now when I want to redirect someone to a vivo.st video, I can just pregenerate a #tab-foobar link, to save them 2 clicks.

Leave a Comment