DHTMLConsole Chrome 插件, crx 扩展下载
This allows you to send message from your server via headers to the dhtmlconsole developer panel
This plugin allows you to send a message from your web server (directly by running a server script or making an ajax call) to your browser by using an HTTP Header.
The only rule is that you need to send custom HTTP headers from your server with the name of the header starting with X-DHTML-CONSOLE.
To send a message from a PHP script to the browser, this implementation will suffice:
<?php
header('X-DHTML-CONSOLE-MSG: Hello World');
?>
As of version 0.3, you can now do javaScript alerts
<?php
header('X-DHTML-CONSOLE-MSG: alert:Hello World');
?>
As of version 0.3, you can clear the console from server by:
<?php
header('X-DHTML-CONSOLE-MSG: -clear-');
?>
To send multiple messages in PHP:
<?php
function dhtmlconsole($msg='') {
static $pos=0;
$pos++;
header('X-DHTML-CONSOLE-MSG'.$pos.': '.$msg);
}
//implementation
dhtmlconsole("Hello");
dhtmlconsole("World");
?>
| 分类 | 💻开发者工具 |
| 插件标识 | jojehgiefnbpeljgiofpdmmdeklckbdd |
| 平台 | Chrome |
| 评分 |
☆☆☆☆☆
|
| 评分人数 | |
| 插件主页 | https://chromewebstore.google.com/detail/dhtmlconsole/jojehgiefnbpeljgiofpdmmdeklckbdd |
| 版本号 | 8.3 |
| 大小 | 357KiB |
| 官网下载次数 | 233 |
| 下载地址 | |
| 更新时间 | 2016-01-20 00:00:00 |
CRX扩展文件安装方法
第1步: 打开Chrome浏览器的扩展程序
第2步:
在地址栏输入: chrome://extensions/
第3步: 开启右上角的【开发者模式】
第4步: 重启Chrome浏览器 (重要操作)
第5步: 重新打开扩展程序管理界面
第6步: 将下载的crx文件直接拖入页面完成安装
注意:请确保使用最新版本的Chrome浏览器