Dev Helper

Latest Version

Version
2.4
Update
May 12, 2021
Size
90.47KiB
Developer
Category
Users
722
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions

WebRequest
WebRequestBlocking
Proxy
See more

Dev Helper Extension

Dev helper is all in one development and profiling extension for Google Chrome which has the following features:

- Profiling webpages and drawing charts showing loading time for all assets, split by domain (including time till the first byte received)

- Set up rewrite rules to override request and response urls, allowing developers to test without actually deploy new code.
Developers could override, add or replace request and response headers to test different scenarios. For example adding 'Access-Control-Allow-Origin: *' in the response header section will resolve cross domain script blocking.
Another way to use it is to replace asset or script (JavaScript and CSS) with local copy. This way the developer could make changes and test the functionality without deployment.

1.Install the extension from chrome app store.
2. Open page’s source code, and find the script tag, that you want to re-write.
3. Copy the code, and host it locally
4. Set up rewrite rule to load this file from your local web host

Note, keep in mind that Match url is actually a regex so any regEx character should be escaped!
For example if you want to match http://mysite.com/global.js?version=1 and redirect it to http://localhost?version=1
You could do this:
Match url: http:\\/\\/mysite\\.com\\/global.js?(.*)
Replacement URL: http://localhost?($1)

The $1 will replace all query string parameters in the replacement url with these from the original url.


- setting up rewrite rules to load assets from different locations.
\tFor example a developer could write a regular expression pattern to match all JavaScript files in particular website where he/she is working on, and load them from their local host. This way active development could be done in real time, and new features could be tested before deploying to production. This method is also useful to debug a production issues.

\texample: if developer wants to test how the new code will affect the production website: http://www.mysite.com where all Java Script comes from: http://mysite.com/scripts/all_java_script.js file, they could write a rule that will match 'http://mysite.com/scripts/all_java_script.js' and load it from the localhost 'http://localhost/all_java_script.js'
\t\t\t
- Setting proxy rules that match different Regular expression patterns.
\tDevelopers could write different matching patterns for different proxy rules.

- Script injection allowing to add new CSS or Java Script to a website for testing purposes.

Detailed instructions and examples of how to use it could be found here: https://www.toni-develops.com/a-homepage-section/projects/using-dev-helper-chrome-extension-for-local-development/
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Dev Helper", "version": "2.4", "description": "Dev Helper", "content_security_policy": "script-src 'self'; object-src 'self'", "content_scripts": [ {"js": [ "assets/scripts/jquery.min.js", "assets/scripts/page_content.js" ],"matches": [ "http://*/*", "https://*/*"],"run_at": "document_idle","all_frames": false}], "permissions": ["", "webRequest", "webRequestBlocking", "proxy" ], "background": {"page": "background.html" }, "browser_action": { "default_title": "Selected Text", "default_icon": "./settings.png", "default_popup": "markups/popup.html" }, "manifest_version": 2 }
Read more

Similar Extensions

icon

Advanced Dev Tools Extension · Developer Tools 722 1 ★ 891KiB

icon

DOM to JSON Converter Extension · Developer Tools 722 1 ★ 18.23KiB

icon

Dev Playground Extension · Developer Tools 722 2 ★ 288KiB

icon

LL Developer Tools Extension · Developer Tools 722 1 ★ 98.88KiB

icon

Dev Tabs Extension · Developer Tools 722 2 ★ 498KiB

icon

Dev Tools Extension · Developer Tools 722 1 ★ 106KiB

icon

DevTools Classes & Atributes panel Extension · Developer Tools 722 4 ★ 12.75KiB

icon

JavaScript Breakpoint Collection Extension · Developer Tools 722 4 ★ 333KiB

icon

LiveScriptConsole Extension · Developer Tools 722 2 ★ 388KiB

icon

Web-Development | Analysis-Tools Extension · Developer Tools 722 2 ★ 8.08KiB

icon

DOM-JSON Tree Matcher Extension · Developer Tools 722 0 ★ 18.58KiB

icon

Developer pages Extension · Developer Tools 722 5 ★ 7.09KiB

icon

Scripter debugger extension Extension · Developer Tools 722 2 ★ 1.04MiB

icon

Enhanced Developer Console Extension · Developer Tools 722 1 ★ 15.69KiB

icon

Developer search tool Extension · Productivity 722 4 ★ 123KiB

icon

HTML5 Debugger Extension · Developer Tools 722 1 ★ 9.01KiB

icon

Copy DOM Content Extension · Developer Tools 722 2 ★ 13.8KiB

icon

ManExt Extension · Accessibility 722 11 ★ 413KiB

icon

Light JavaScript Playground Extension · Developer Tools 722 5 ★ 336KiB

icon

Finch Developer Tools Extension · Developer Tools 722 11 ★ 1.51MiB

icon

Web Injector Extension · Developer Tools 722 8 ★ 152KiB

icon

Developer Cookie Extension · Developer Tools 722 9 ★ 36.39KiB

icon

Console Injector Extension · Developer Tools 722 12 ★ 20.4KiB

icon

Examine Offline Data (Cookies, HTML5 Storage) Extension · Developer Tools 722 5 ★ 33.75KiB

User reviews

icon

António Carvalho (ID: 000000bdb285498d) Voted 5 ★ - Updated 02/26/2022 Essential in my daily tasks! Works great :)

icon

Tejas Kelkar (ID: 00000092df2c01ed) Voted 5 ★ - Updated 09/30/2021 Saves engineers so much time when developing solutions to problems. Works like a charm!

icon

Fotin Filchev (ID: 00000064b1ba03de) Voted 5 ★ - Updated 06/23/2020 Works Great!

icon

Zhao Yu (ID: 0000006229f73c5c) Voted 5 ★ - Updated 03/22/2017 Great tool Toni, saves me a lot of time when developing

icon

Srinivas Pavan Maroju (ID: 000000108694d0c6) Voted 5 ★ - Updated 09/15/2016 Swiss army knife for front end developers. Works well.