How to modify an extension from the Chrome Web Store? -
i've seen this extension in chrome web store, shows newest videos of youtube channel. want modify extension in order make work different channel.
how can done?
you've got 2 options:
- contact extension's developer, , ask assistance.
- edit source code
i'm going explain how can modify extension, , install it, in easy terms.
getting source , modifying it
- install chrome extension source viewer.
- go page in chrome web store of extension want modify.
- click on yellow crx button, , choose download (screenshot).
- extract zip file.
- read source code, , change needs changed (in particular case, had identified wanted change edit
config.js
, change"channel"
property). save changes.
using modified version of extension.
- visit chrome extension page (
chrome://extensions/
). - enable developer mode, putting check on checkbox in upper-right corner.
- click on "load unpacked extension" button.
- select folder of extension (to know folder correct, check whether folder contains file called
manifest.json
). - confirm. you're done.
unless you've made mistake in either of these steps (including modification of source code), modified extension should work intended.
ethics
modifying else's extension personal use not big deal. however, not distribute extension without original developer's consent. original author has put lots of efforts in creating extension, , might have his/her contact details on it. if distribute (modified) copy of extension, original author cannot update extension more, s/he cannot resolve bugs.
worse, if turn extension in bad shape, users complain original author, because contact details on it.
Comments
Post a Comment