whenever I end up on a certain page, which has a certain URL ("A"), i want my browser (Chromium) to wait there 10 seconds (without doing nothing else) and then automatically redirect me to another specific URL ("B")
"A" is a page on a website that sometimes is automatically redirected to "B" in a few fractions of a second (if some conditions are satisfied), but sometimes isn't and it remains stuck there for the rest of its lifetime
I want to force the redirection to happen in every case, and 10 seconds are enough to see if the automatic redirection happened or I have to make it happen in another way
I've found several Chrome extensions that can set up an automatic redirect request, like Requestly or Redirector, but with none of those it's possible to add a "waiting" feature before the redirection
however, Requestly (the most advanced one) allows to load custom CSS or JS code to run it
I don't know absolutely nothing about programming, so what could I write to make the extension do what I want to do?
at least two algorithms could work; a simpler one "detects when I end up on "A", wait 10 s and then redirect to "B" no matter what", or a more sophisticated one "detects when I end up on "A", wait 10 s, see if I'm still on "A" and if yes then redirect to "B" "
thanks in advance for the help!