--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+unsubscribe@chromium.org.
On Wed, Feb 7, 2018 at 4:15 PM, Robert Inder <rober...@gmail.com> wrote:In some situations, a subordinate window wants to pass
the user back to the main window (i.e. its opener).
It does this by invoking code in the main window which
uses window.focus() to bring itself to the top --i.e. to transfer focus from the child window/tab to the main one.The main window also puts up an alert, to tell the user what has changed.
Avi,Here is another use-case, which has apparently been disabled by this change. Emails often link to a site with pertinent information to open something in a site.Since this opens a new tab, to avoid tab proliferation, we use a broadcast to look for an existing tab that can take the request, and if one is found, we alert to that tab, and close the tab that was opened.With this change, is there a way to focus to another tab from the currently active tab? I think the use-case described by the original poster, and this case, don't really fall under the abuse you're trying to avoid, since it is instigated by the currently active tab.Thanks,David
I respect Chrome disabling features that are widely abused, but it would be nice if some thought were put toward creating safe workarounds for valid use-cases before disabling the functionality.As far as I can tell, there is currently no way to pass focus from one tab to another, even though the use-cases described are valid. If there is another way, I'l love to hear about it.If not, is there a formal way to request features? Perhaps one could augment BroadcastChannel to pass focus from one tab to another? Since both tabs would have to be in some form of agreement, it would seem like a safe work around.
Hi, I have the same question about window.focus(). Is it possible to add permission use focus for necessary sites? I work with the site (corporate source) in many tabs and sometimes it really needs to know about changes in other tabs (your session is closed.. someone fixed the issue and so on)
среда, 21 марта 2018 г., 7:29:59 UTC+2 пользователь David Flammer написал:
I respect Chrome disabling features that are widely abused, but it would be nice if some thought were put toward creating safe workarounds for valid use-cases before disabling the functionality.