DHTMLConsole

2026年01月08日 开发者工具

插件截图

DHTMLConsole

插件概述

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:

header('X-DHTML-CONSOLE-MSG: Hello World');
?>

As of version 0.3, you can now do javaScript alerts
header('X-DHTML-CONSOLE-MSG: alert:Hello World');
?>


As of version 0.3, you can clear the console from server by:
header('X-DHTML-CONSOLE-MSG: -clear-');
?>


To send multiple messages in PHP:

function dhtmlconsole($msg='') {
static $pos=0;
$pos++;
header('X-DHTML-CONSOLE-MSG'.$pos.': '.$msg);
}

//implementation
dhtmlconsole("Hello");
dhtmlconsole("World");
?>

其他信息

官方唯一标识:jojehgie****************eklckbdd

官方最后更新日期:2016年1月19日

分类:开发者工具

大小:356KiB

版本:0.4

语言:English

提供方:www.africoders.com

星级:4.7

插件下载

下载链接一     下载链接二
Chrome插件离线安装教程

温馨提示

本站中的部份内容来源网络和网友发布,纯属个人收集并供大家交流学习参考之用,版权归版权原作者所有

如果您发现网站上有侵犯您的知识产权的作品,请与我们取得联系,我们会及时修改或删除。

如果您觉得网多鱼对您有帮助,欢迎收藏我们 Ctrl+D