November 23, 2020

'Play or Pause Tab' Firefox Extension

Background Play or Pause Tab is a Firefox extension I created to help manage the “play” or “pause” states of tabs streaming media content. The user can right-click the tab and select the “Play/Pause” option to control this. Currently, the implementation is pretty straightforward. This post is to document some of the main things I learned about creating “Play or Pause Tab” in a step-by-step way. Some of the resources I used to help me build this extension was starting with Mozilla Developer Network’s Your First WebExtension guide, and then later referencing their menu-remove-element example for communicating between the extension’s background and content scripts via a context menu item. Read more

November 29, 2017

ES6 Recursion

I’ve been working with ES6 for over a year now and can easily say the spread operator and destructuring are by far my most frequently used features. Spread Operator Allows the expansion of items inside an object or array - or if you’re working with functions,arguments. This is especially useful when you want to overwrite the value of a key in an object while still preserving the object’s original contents. Read more

© Micah Tigley 2020

Powered by Hugo & Kiss.