I am very new (started today) to writing chrome extensions but need to write a ‘fairly simple’ one for tomorrow…
I am really struggling to get my head round it though!
I need to write an extension that opens a new tab or window (whichever is easier!) directed at a predefined url is opened when a certain URL is searched in the current.
An example of this would be if the user typed in http://www.facebook.com I am trying to get the extension to then open a new tab/window with http://www.google.com in.
Any help would be much appreciated!
Thanks
Will
In your html of the extension you can specify an anchor tag for the action button which opens a new tab like this
or if you want to do it programmatically you can