New issue
Advanced search Search tips

Issue 721670 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
EstimatedDays: ----
NextAction: 2019-07-09
OS: Windows
Pri: 3
Type: Feature



Sign in to add a comment

Perform window.open via command line arguments

Reported by stijnsan...@gmail.com, May 12 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

Steps to reproduce the problem:
1. Execute command line
chrome.exe --window-open https://mail.google.com/mail/ca/u/0/?view=cm "Compose new e-mail" width=650,height=800,left=1200,top=50

What is the expected behavior?
If running, existing instance(s) of chrome is called to perform 'window.open' with 3 arguments as provided

What went wrong?
This is a feature request. I propose "--window-open" here, but feel free to assign a better fitting moniker. Currently I revert to opening a local HTML file that contains:

<script>
if(window.open('https://mail.google.com/mail/ca/u/0/?view=cm','NewMail '+(new Date()).toString(),'width=650,height=800,left=1200,top=50'))window.close();
</script>

Which works almost as expected except a tab opens and closes, and restores the existing chrome main window if it was minimized.

Did this work before? No 

Chrome version: 57.0.2987.133  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

This is a feature request (nice-to-have)
 
Labels: Needs-Milestone
Labels: -Needs-Milestone
Status: Untriaged (was: Unconfirmed)
Considering this as a feature request and marking it as Untriaged to get more inputs from dev team.

Thanks.
Labels: Pri-3
NextAction: 2019-07-09
Downgrading P2s that haven't been modified in more than 6 months, which have no component or owner.

Sign in to add a comment