Modifying the Browser Lab (Extension Version)

The steps to creating and extension like this do not seem very difficult. The concepts of how the folders layout and where everything goes seems pretty straight forward. Where I had a problem though was it certainly seems a lot more difficult to write an extension vs injecting code into the tree. It seems like you need to create a lot of work arounds and the overall code is a lot more difficult to figure out where you place it and what functions you should use then it is when just changing the source code. Also you need to rely on the fact that the code you are trying to change has these “hooks” otherwise editing the code seems almost impossible through an extension. Seems kind of silly to me but I’m sure there must be very good reasons for why the system is the way it is. Personally I think extensions should somehow have the ability to to possibly run a sort of “patch” on the build and a “remove patch” when the extension is turned off. I’m guessing unless the user has the source on their computer this is practically impossible, but it certainly would make things much nicer.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.