Open tzarebczan opened 5 years ago
I just determined this is also causing GA session stats to be inflated for open.lbry.com - the page staying open in the background is the cause. Simply closing it would solve this.
Is this still needed?
Would be awesome, but some brief research into this recently showed it may not be possible to close the window. Feel free to dig around to see if there's a way!
I’ve found something in Javascript that may be able to do as required. What behaviour are you looking for exactly – just exit as soon as it’s redirected, or wait a bit and let the user cancel it, or something else...?
From: Thomas Zarebczan Sent: 01 October 2019 18:23 To: lbryio/open.lbry.com Cc: ICTman1076; Comment Subject: Re: [lbryio/open.lbry.com] Auto close tab/window feature? (#16)
Would be awesome, but some brief research into this recently showed it may not be possible to close the window. Feel free to dig around to see if there's a way! — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
I think the JS script method would only work if it's the script opened the tab.
I'd prefer this to be an option on the page, with default on.
Ah, yeah, it seems you're right. /shrug
After clicking on a open.lbry.io link, the browser tab stays open. This becomes more annoying when clicking multiple links (i.e. from subscription emails). Would it be possible to allow a setting to auto close the tab/window, or prompt the user to?