Adds the API mocker MOKKU to Chrome Developer Tools for seamless integration & testing.
Mokku Extension
Mokku adds itself as a tab in dev tools as a panel. In the tab user can see network logs and mocks. Any network call from the logs can be mocked by simply clicking mock button then response can be edited. User can also search logs. Mock can also be created from scratch from create mock button.
Detailed Release notes: https://github.com/mukuljainx/Mokku/releases
v2.0.6
Remove sentry from inject script
Error handling while searching mocks
v2.0.4
Feature:
load Mokku in separate window as well
Add sentry for error tracking
Mock headers from log as well
v2.0.1
Fix: status not reflecting in mock
Feat: add option to edit mocked log
v2.0.0
New UI
Dark Theme
Resizable modal (log and mock)
Better code (allows adding feature quickly)
Bug fixes
v1.8.2
Fixed the broken build.
v1.8.0
Updates the manifest and other packages to latest version. Nothing new, this can break things but a required change to improve the extension and to release v2.0.0
v1.7.0
Allow user to create multiple mocks with same url and method. On creating new mock any previous will be disabled, same goes for enabling any mock.
Adds description field for mocks.
v1.6.1
Bug fix
v1.5.0
Add text response format.
v1.4.0
Auto format JSON after pasting, if valid
v1.3.0
Import and export Mocks
Copy a mock for quick duplication
v1.2.0
New JSON Editor with linting more verbose errors
v1.1.0
Dynamic URL Mocking
URL such as
1. \"service/chat/user/:userId/messages\" can be added. All the URL such as \"service/chat/user/u1/messages\", \"service/chat/user/u2/messages\" etc will be matched though response will remain same. In future userId will available as param just like express and you can provide a handler function.
2. \"service/some/thing/(.*)\" can also be added, (.*) will match anything just like the above.
All URL's are accessible but Mokku doesn't inject scripts into any pages apart from which are served locally and accessed using 'http://localhost*' until enabled from the Panel.
Collections & Dynamic mock generators coming soon!
You can submit issues, bugs or feature request at https://github.com/mukuljainx/mokku/issues
Source Manifest.json
"manifest_version":3,
"name":"Mokku",
"description":"Adds the API mocker MOKKU to Chrome Developer Tools for seamless integration & testing.",
"version":"2.0.11",
"icons":{"16":"mokku-16.png",
"48":"mokku-48.png",
"128":"mokku-128.png",
"512":"mokku-512.png"},
"options_ui":{"page":"options.html"},
"action":{"default_icon":"mokku-16.png",
"default_popup":"popup.html"},
"content_scripts":[{"matches":["
"js":["js/content_script.js",
"js/inject.js"],
"run_at":"document_start"}],
"devtools_page":"devtool.html",
"background":{"service_worker":"js/background.js"},
"permissions":["storage",
"activeTab",
"tabs"],
"host_permissions":["
"web_accessible_resources":[{"resources":["js/inject.js"],
"matches":["
How to download and manually install Mokku extension for Chrome
Looking for a way to install Mokku 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 Mokku extensions manually, this article outlines two simple methods to effortlessly install Mokku extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download Mokku extension and manually install through Drag &Drop
If you ever need to manually install a Mokku 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 Mokku Extension by clicking the "Download CRX" button on the website.
Look for the Mokku extension you wish to install. Go to the website and download the Mokku extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Mokku 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 Mokku 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 Mokku extension for Chrome and install in Developer Mode
This is another method to install Mokku 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 Mokku extension file
Select and download the Mokku 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 Mokku 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 Mokku 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 Mokku 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 Mokku extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
tweak: mock and modify HTTP requests 10,000+ 190 ★ 3.22MiB
Requestly - Intercept, Modify & Mock HTTP Requests 10,000+ 1227 ★ 876KiB
MockMan - mock APIs 10,000+ 17 ★ 2.3MiB
Mockiato: Mocks on the Fly! 10,000+ 8 ★ 477KiB
ModResponse - Mock and replay API 10,000+ 23 ★ 454KiB
Parrot API mocking 10,000+ 5 ★ 3.6MiB
Oh-my-Mock 10,000+ 8 ★ 7.07MiB
ModHeader - Modify HTTP headers 10,000+ 1061 ★ 676KiB
CORS Unblock 10,000+ 162 ★ 203KiB
Redux DevTools 10,000+ 726 ★ 1.2MiB
Testing Playground 10,000+ 60 ★ 646KiB
Netify 10,000+ 40 ★ 1.24MiB
Request Interceptor 10,000+ 58 ★ 1.89MiB
Mimic , mock http requests 10,000+ 5 ★ 2.48MiB
URL Throttler 10,000+ 31 ★ 38.13KiB
Chrome Response Override 10,000+ 15 ★ 488KiB
Apollo Client Devtools 10,000+ 266 ★ 490KiB
axe DevTools - Web Accessibility Testing 10,000+ 114 ★ 2.89MiB
Allow CORS: Access-Control-Allow-Origin 10,000+ 279 ★ 78.31KiB
BrowserStack 10,000+ 95 ★ 805KiB
Ajax Modifier 10,000+ 48 ★ 2.08MiB
Tamper Dev 10,000+ 29 ★ 532KiB
Angular DevTools 10,000+ 159 ★ 3.2MiB
GraphQL Network Inspector 10,000+ 123 ★ 8.34MiB
User reviews
Misael Freitas (ID: 000000e23ccef1e5) Voted 3 ★ - Updated 05/23/2024
Ruchi Rai (ID: 000000d3fd5f9617) Voted 5 ★ - Updated 09/04/2023
April Papajohn (ID: 00000052c0676951) Voted 5 ★ - Updated 09/01/2023
Hayk Martirosyan (ID: 0000000a1a636ad8) Voted 4 ★ - Updated 08/30/2023
supasai haplakhon (ID: 00000092411f72c7) Voted 1 ★ - Updated 08/25/2023