Dev Helper
Dev Helper
Dev Helper là gì?
Dev Helper là một tiện ích mở rộng Chrome được phát triển bởi toni.nichev, và tính năng chính của nó là "Dev Helper".
Ảnh Chụp Màn Hình của Tiện Ích Mở Rộng
Tải xuống tệp CRX của tiện ích mở rộng Dev Helper
Tải xuống các tệp mở rộng Dev Helper dưới định dạng crx, cài đặt các tiện ích mở rộng Chrome bằng tay trong trình duyệt hoặc chia sẻ các tệp crx với bạn bè để dễ dàng cài đặt các tiện ích mở rộng Chrome.
Hướng Dẫn Sử Dụng Tiện Ích Mở Rộng
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. For 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. example: 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' - Setting proxy rules that match different Regular expression patterns. Developers 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/
Thông Tin Cơ Bản về Tiện Ích Mở Rộng
Tên | Dev Helper |
ID | kbbgddcndpjnadfacanamniaomcohlcc |
URL Chính Thức | https://chromewebstore.google.com/detail/dev-helper/kbbgddcndpjnadfacanamniaomcohlcc |
Mô tả | Dev Helper |
Kích Thước Tệp | 90.47 KB |
Số Lần Cài Đặt | 793 |
Phiên Bản Hiện Tại | 2.4 |
Cập Nhật Lần Cuối | 2021-05-12 |
Ngày Phát Hành | 2018-10-15 |
Đánh Giá | 5.00/5 Tổng số 8 Đánh Giá |
Nhà Phát Triển | toni.nichev |
[email protected] | |
Loại Thanh Toán | free |
Trang Web Mở Rộng | https://www.toni-develops.com/a-homepage-section/projects/using-dev-helper-chrome-extension-for-local-development/ |
URL Trang Trợ Giúp | https://www.toni-develops.com/a-homepage-section/projects/using-dev-helper-chrome-extension-for-local-development/ |
Ngôn Ngữ Được Hỗ Trợ | en |
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": [ " |