extension ExtPose

DHTMLConsole

Description from extension meta This allows you to send message from your server via headers to the dhtmlconsole developer panel
Image from store DHTMLConsole
Description from store 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"); ?>
Latest reviews (2018-01-10) Jose Cruz: Exactly what I was looking for. The ability to send php messages to the console like with javascript for testing. Thanks! (2016-01-20) Anthony ogundipe: Works fine on my pc

About Extpose

Extpose is a service for Chrome extension publishers.
It helps tracking and optimizing browser extension performance in Chrome Web Store.

The most valuable features are available after creating an account.

Learn more

If you are not an extension developer and want to install this extension please proceed to Chrome Web Store

Go to Chrome Web Store

Statistics

Installs
104
Category
Rating
4.6667 (3 votes)
Last update / version
2016-01-19 / 0.4

Links

Keywords

...
...
...
...
...
and 5 more

Similar extensions