Extension and URL link

88 views
Skip to first unread message

Alyssa Reimold

unread,
Mar 19, 2017, 7:39:24 PM3/19/17
to Chromium-Extensions-Announce
Hi! I recently posted that my chrome extension was popping up in its own window (more like an app).  Someone did give me a piece of code that doesn't seem to be working.  

What I'm trying to do seems really simple, but I guess I just have too little background in the coding part.  Does anyone know where I could get the files to create a chrome extension that will like to a website? All I want is for there to be a chrome extension icon on the browser.  A user will click on it and it will automatically take them to a website.  I know they can bookmark and it can go on the bookmark bar.  However, these are children and they will always remember to click on a graphic.  I'm trying to make it easy, but it's proving difficult.

Suggestions? :)  I justed someone else's files and that's probably where I'm having the issues of it being an app and not an extension.  

Thanks so much!
A

Sudipan

unread,
Mar 19, 2017, 10:20:03 PM3/19/17
to Chromium-Extensions-Announce
You should take a look at some of the examples here - https://developer.chrome.com/extensions/samples

For example, in "A browser action which changes its icon when clicked" example, instead of just changing the icon, you can open your URL in browserAction.onClicked method. There should be some examples either in the samples link above or on Stack Overflow on how to link to a website.

Hope this helps.
(Not a Google employee)
Reply all
Reply to author
Forward
0 new messages