self.li - note to self and share with others, blog by Peter Legierski

Peter Legierski

/pronounced as leg-year-ski/

Occasional workaholic, regular teaholic. Lead Developer of GatherContent. Fat, powdered nose, indoor climber!

Currently working on my personal project phpconsole. Check it out, it will speed up your development process!

How to Convert Bookmarklet to Chrome Extension

Note from Peter:
I’m working on a new tool for web developers. It's called phpconsole.com and it will speed up your development process. Feedback welcome!

I ran into the problem of converting from one to another a while ago and all I could find was a bunch of tutorials that didn’t help too much, half of them outdated or with missing pieces of code.

There was no way that simple copy-paste will solve my problem. Surely, I can’t be the only person that has few useful bookmarklets, but want to save up space and hide bookmarks bar altogether.

image

This post is on Hacker News and Life Hacker. Join discussion:
Hacker News link
Life Hacker link

Click here to use Bookmarklet to Chrome Extension Converter

Now it turns out that I somehow skipped this piece of code that looks pretty similar to code generated by converter, but before that discovery, I thought: I’m a developer, so there is only one reasonable solution to my problem:

I will create my own bookmarklet to Chrome extension converter.

It’s ready and you can find it here. All you have to do is to figure out some clever name and description, drag bookmarklet into textarea and hit “Generate” button.

You can also browse source code on GitHub.

I think it’s pretty good start point to see how simple Chrome extension looks like and develop it further, if you fancy learning basics of something new over the weekend. Want to use your own icon? Replace three png files in the folder and you’re good to go!

If you read this far, you should follow me on Twitter.

You can also read about:

Logging in with QR codes

World’s Largest Wi-Fi Network Keeps Passwords in Plain Text

Recommend:
Posted 1 year ago - Comments
  1. graysky reblogged this from legierski
  2. googleclone reblogged this from legierski
  3. ethertank reblogged this from legierski and added:
    ブックマークレットを...のエクステンションに変換してくれる。使ってみたけど、素晴らしかった。
  4. joelhamill reblogged this from legierski and added:
    This is amazing.
  5. quasidot reblogged this from legierski
  6. omgmog reblogged this from legierski
  7. legierski posted this
#Slim framework #bookmarklet #chrome #convert #extension #tool #useful #converter #simple