Live data from Hacker News

How to Easily Convert Any Bookmarklet to Chrome Extension (+ source code)

blog.self.li

1–8 of 8 posts

Re: How to Easily Convert Any Bookmarklet to Chrome Extension (+ source code)

#3
post #2

I don't know anything about Chrome extensions but I know that typical bookmarklets function in all browsers. So my question is: why? Why not just using bookmarklet as is?

Naive guess—Chrome extensions run automatically on specific domains. Bookmarklets run only when clicked.

Re: How to Easily Convert Any Bookmarklet to Chrome Extension (+ source code)

#4
post #2

I don't know anything about Chrome extensions but I know that typical bookmarklets function in all browsers. So my question is: why? Why not just using bookmarklet as is?

Some people hate having a bookmarks bar visible or just want to make more space for other things.

Re: How to Easily Convert Any Bookmarklet to Chrome Extension (+ source code)

#5
post #2

I don't know anything about Chrome extensions but I know that typical bookmarklets function in all browsers. So my question is: why? Why not just using bookmarklet as is?

Some people hate having a bookmarks bar visible or just want to make more space for other things.

You can also get extra exposure through the chrome web store. It's not a lot, but every bit matters.