Inject client id and access token headers into api requests automatically.

Latest Version

Version
1.4
Update
February 12, 2024
Size
1.01MiB
Developer
Category
Users
33
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
DeclarativeNetRequest
Storage
See more

Twitch API Injector Extension

This extension allows you to hit API endpoints in your browser by injecting the Client ID and Authorization headers into your request before sending.

This is done by you providing the extension a TwitchDev application client id, client secret, and refresh token. The extension will allow you to generate a bearer token. Once completed, the extension will inject the client id you provided, and the generated access token in requests made to api.twitch.tv/helix, allowing you to browse the API in your browser (as you would prior to the requirement of these fields).

Changes:

v1.4:
- Bug fix related to automatic refreshing access token.

v1.3:
- Support for automatically refreshing access token at the determined expiration date/time

v1.2:
- Support for Chrome's Manifest v3. This means removing webRequest and webRequestBlocking in exchange for declarativeNetRequest permission.
- Adds support for using one time \"code\" values, which are exchanged for bearer and refresh tokens.

As always, you can see the changes at the repo here: https://github.com/swiftyspiffy/Twitch-API-Injector
Read more

Source Manifest.json

{ "action": { "default_icon": { "150": "icon.png" }, "default_popup": "form.html" }, "description": "Inject client id and access token headers into api requests automatically.", "icons": { "150": "icon.png" }, "manifest_version": 3, "name": "Twitch API Injector", "options_page": "form.html", "permissions": ["declarativeNetRequest", "storage"], "host_permissions": [ "https://api.twitch.tv/helix/*" ], "background": { "service_worker": "execute.js" }, "short_name": "TwitchAPIInjector", "update_url": "https://clients2.google.com/service/update2/crx", "version": "1.4"}
Read more

How to download and manually install Twitch API Injector extension for Chrome

Looking for a way to install Twitch API Injector extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Twitch API Injector extensions manually, this article outlines two simple methods to effortlessly install Twitch API Injector extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Twitch API Injector extension and manually install through Drag &Drop

If you ever need to manually install a Twitch API Injector extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Twitch API Injector Extension by clicking the "Download CRX" button on the website.

Look for the Twitch API Injector extension you wish to install. Go to the website and download the Twitch API Injector extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Twitch API Injector extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Twitch API Injector extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Twitch API Injector extension for Chrome and install in Developer Mode

This is another method to install Twitch API Injector extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Twitch API Injector extension file

Select and download the Twitch API Injector extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Twitch API Injector extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Twitch API Injector extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Twitch API Injector extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Twitch API Injector extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Bankwest Virtual Accounts Extension · Productivity 33 0 ★ 40.22KiB

icon

Amazon Coupon Hunter Extension · Shopping 33 0 ★ 56.91KiB

icon

Twitch Tools Extension · Productivity 33 2 ★ 126KiB

icon

Pretty Rest API Documentacion Extension · Developer Tools 33 1 ★ 2.39MiB

icon

Cryptocurrency portfolio value Extension · News & Weather 33 0 ★ 225KiB

icon

Open Source ETH Ticker Extension · Productivity 33 1 ★ 6.22KiB

icon

Autoviewed Extension · Developer Tools 33 2 ★ 235KiB

icon

Twitch Points Farmer Extension · Developer Tools 33 0 ★ 34.16KiB

icon

Twitch Username and User ID Translator Extension · Developer Tools 33 22 ★ 33.08KiB

icon

Just Bitcoin Ticker [PRO] Extension · News & Weather 33 3 ★ 17.22KiB

icon

dankCircle preloader for Twitch Extension · Fun 33 2 ★ 59.88KiB

icon

LeetCode Contest Helper Extension · Productivity 33 1 ★ 85.51KiB

icon

Token Extractor Extension · Developer Tools 33 0 ★ 187KiB

icon

True Twitter Block Extension · Social & Communication 33 1 ★ 6.87KiB

icon

TeMo: Twitch Chat Extension Extension · Fun 33 13 ★ 8.4MiB

icon

AliExpress Batch Ver3 Extension · Productivity 33 1 ★ 922KiB

icon

BAT Ticker Extension · Productivity 33 7 ★ 31.11KiB

icon

TTV Tools Extension · Productivity 33 11 ★ 1.4MiB

icon

Discord Embeds Extension · Developer Tools 33 4 ★ 135KiB

icon

Parrot API mocking Extension · Developer Tools 33 5 ★ 3.6MiB

icon

Twitch Lurker Extension · Fun 33 32 ★ 230KiB

icon

Bearer/Authorization access with JWT decoder Extension · Developer Tools 33 0 ★ 120KiB

icon

Access Token Grabber Extension · Developer Tools 33 2 ★ 689KiB

icon

Twitch Links Extension · Productivity 33 5 ★ 44.66KiB