Hacker News new | ask | show | jobs
by parktheredcar 4354 days ago
Do chrome extensions allow you to enter javascript functions that get executed via settings? I could see something like a 'custom hype formatter' callback option that passes a dom reference to the news item along with its hype ranking being pretty neat.
2 comments

> Do chrome extensions allow you to enter javascript functions that get executed via settings?

Maybe I misunderstand you but isn't that what an extension does?

Chrome extensions are pretty much Javascript+HTML bundles in fact. Something like what you suggest is not only possible but very easy to accomplish.