HookAjax XHR Fetch

Latest Version

Version
2.2
Update
October 27, 2021
Size
524KiB
Developer
Category
Users
42
Rating
1 ★
Manifest Version
2
Web Store Status
Languages Support
中文 (简体)
See more
Permissions
Storage
Http://*/
Https://*/
See more

HookAjax Extension

To modify response text of Fetch or XHR requests
1. You may have to restart chrome after you added this extension.
2. It is recommended that you turn off this extension(the icon should be gray) when you are not using it.
3. This extension only overrides the response data in the XMLHTTPRequest object as well as the fetch method. The \"real\" response which you can see in DevTools' \"Network\" panel will not be changed.


你可以用该插件修改页面上Fetch or XHR请求的返回结果。
注意:
1. 建议第一次安装完重启浏览器,或者刷新你需要使用的页面。
2. 当你不需要使用该插件时,建议把开关关上(插件icon变为灰色),以免对页面正常浏览造成影响。
3. 该插件只会在JS层面上对返回结果进行修改,即只会修改全局的XMLHTTPRequest对象和fetch方法里的返回值,进而影响页面展现。而你在chrome的devtools的network里看到的请求返回结果不会有任何变化。

by:Kenny
github:https://github.com/shenzhenjinma/hook-chrome-ajax
友情提示参考了:https://github.com/YGYOOO/ajax-interceptor对功能进行了改进和优化
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "HookAjax", "version": "2.2", "description": "HookAjax XHR Fetch", "permissions": [ "storage", "http://*/", "https://*/" ], "background": { "scripts": ["background.js"], "persistent": true }, "browser_action": { }, "icons": { "16": "images/16_gray.png", "32": "images/32_gray.png", "48": "images/48.png", "128": "images/128.png" }, "manifest_version": 2, "content_scripts": [ { "matches": [""], "js": ["./content.js"], "run_at": "document_start", "all_frames": true } ], "web_accessible_resources": [ "pageScripts/defaultSettings.js", "pageScripts/main.js", "iframe/index.html" ]}
Read more

How to download and manually install HookAjax extension for Chrome

Looking for a way to install HookAjax 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 HookAjax extensions manually, this article outlines two simple methods to effortlessly install HookAjax extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download HookAjax extension and manually install through Drag &Drop

If you ever need to manually install a HookAjax 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 HookAjax Extension by clicking the "Download CRX" button on the website.

Look for the HookAjax extension you wish to install. Go to the website and download the HookAjax extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for HookAjax 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 HookAjax 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 HookAjax extension for Chrome and install in Developer Mode

This is another method to install HookAjax 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 HookAjax extension file

Select and download the HookAjax 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 HookAjax 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 HookAjax 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 HookAjax 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 HookAjax extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Ajax Interceptor Tools Extension · Developer Tools 42 12 ★ 2.31MiB

icon

Ajax Proxy Extension · Developer Tools 42 8 ★ 835KiB

icon

Request Interceptor Extension · Developer Tools 42 58 ★ 1.89MiB

icon

Request Interceptor Extension · Developer Tools 42 12 ★ 23.97KiB

icon

HTTP-TRACKER Extension · Developer Tools 42 33 ★ 85.4KiB

icon

Request Interceptor Extension · Developer Tools 42 0 ★ 18.76KiB

icon

Ajax Collector Extension · Developer Tools 42 1 ★ 249KiB

icon

Ajax Modifier Extension · Developer Tools 42 48 ★ 2.08MiB

icon

Browser Proxy Extension · Developer Tools 42 1 ★ 2.54MiB

icon

Netify Extension · Developer Tools 42 40 ★ 1.24MiB

icon

XHR JSON Panel Extension · Developer Tools 42 18 ★ 45.82KiB

icon

Colibri: modify Ajax response Extension · Developer Tools 42 2 ★ 220KiB

icon

Interceptor Extension · Developer Tools 42 2 ★ 180KiB

icon

XHR Request Interceptor Extension · Developer Tools 42 0 ★ 574KiB

icon

xhr-devtool Extension · Developer Tools 42 1 ★ 51.34KiB

icon

ModResponse - Mock and replay API Extension · Developer Tools 42 23 ★ 454KiB

icon

tweak: mock and modify HTTP requests Extension · Developer Tools 42 190 ★ 3.22MiB

icon

Easy-Interceptor Extension · Developer Tools 42 2 ★ 454KiB

icon

Tamper Dev Extension · Developer Tools 42 29 ★ 532KiB

icon

Inssman: Open-Source: Modify HTTP Request Extension · Developer Tools 42 10 ★ 3.51MiB

icon

Chrome Response Override Extension · Developer Tools 42 15 ★ 488KiB

icon

webhook Extension · Developer Tools 42 3 ★ 726KiB

icon

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

icon

Inspect API calls Extension · Developer Tools 42 0 ★ 58.93KiB