This allows you to send message from your server via headers to the dhtmlconsole developer panel

Latest Version

Version
0.4
Update
January 19, 2016
Size
357KiB
Developer
www.africoders.com
Category
Users
240
Rating
4 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Tabs
Http://*/*
Https://*/*
See more

DHTMLConsole Extension

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\");
?>
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "DHTMLConsole", "version": "0.4", "description": "This allows you to send message from your server via headers to the dhtmlconsole developer panel", "devtools_page": "devtools.html", "manifest_version": 2, "icons": { "16": "icon16.png", "48": "icon48.png", "128": "icon128.png" }, "background": { "scripts": ["background.js"] }, "browser_action": { "default_icon": "icon16.png", "default_title": "DHTMLConsole" }, "permissions": ["tabs", "http://*/*", "https://*/*" ], "content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'"}
Read more

How to download and manually install DHTMLConsole extension for Chrome

Looking for a way to install DHTMLConsole extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install DHTMLConsole extensions manually, this article outlines two simple methods to effortlessly install DHTMLConsole extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download DHTMLConsole extension and manually install through Drag &Drop

If you ever need to manually install a DHTMLConsole extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the DHTMLConsole Extension by clicking the "Download CRX" button on the website.

Look for the DHTMLConsole extension you wish to install. Go to the website and download the DHTMLConsole extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for DHTMLConsole extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the DHTMLConsole extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download DHTMLConsole extension for Chrome and install in Developer Mode

This is another method to install DHTMLConsole extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the DHTMLConsole extension file

Select and download the DHTMLConsole extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the DHTMLConsole extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your DHTMLConsole extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the DHTMLConsole extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install DHTMLConsole extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Lavaca Developer Tools Extension · Developer Tools 240 0 ★ 10.42MiB

icon

Atma.js DevTool Extension · Developer Tools 240 0 ★ 201KiB

icon

console.sparkline Extension · Developer Tools 240 1 ★ 4.7KiB

icon

captureCalls Extension · Developer Tools 240 1 ★ 9.63KiB

icon

HTML5 Debugger Extension · Developer Tools 240 1 ★ 9.01KiB

icon

Github Annotator Extension · Developer Tools 240 2 ★ 81.68KiB

icon

PHP shell Extension · Developer Tools 240 19 ★ 12.46KiB

icon

PHP Write Run Extension · Developer Tools 240 9 ★ 218KiB

icon

github-php-function-jumper Extension · Developer Tools 240 2 ★ 11.38MiB

icon

LiveScriptConsole Extension · Developer Tools 240 2 ★ 388KiB

icon

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

icon

Ohana Developer Console Extension · Developer Tools 240 2 ★ 174KiB

icon

Developer URL bar Extension · Developer Tools 240 2 ★ 41.03KiB

icon

rawkit Extension · Developer Tools 240 0 ★ 88.13KiB

icon

GitHub submodule links Extension · Developer Tools 240 2 ★ 17.49KiB

icon

Check for .git directory existence Extension · Developer Tools 240 0 ★ 49.98KiB

icon

OctoPermalinker Extension · Developer Tools 240 1 ★ 373KiB

icon

Console Injector Extension · Developer Tools 240 12 ★ 20.4KiB

icon

PHP Error Alert Extension · Developer Tools 240 11 ★ 57.31KiB

icon

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

icon

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

icon

DOM to JSON Selector Extension · Developer Tools 240 0 ★ 48.55KiB

icon

Developer pages Extension · Developer Tools 240 5 ★ 7.09KiB

icon

Not my department Extension · Developer Tools 240 1 ★ 1.44MiB

User reviews

icon

Роман (ID: 0000003be1a4e834) Voted 1 ★ - Updated 01/22/2023 it doesn't work anymore. console tab not showing up

icon

Magno Alberto (ID: 0000005b163280f6) Voted 5 ★ - Updated 12/18/2020 Exactly what I was looking for. Thanks!!!!

icon

Jose Cruz (ID: 0000000c3a8630c7) Voted 5 ★ - Updated 01/10/2018 Exactly what I was looking for. The ability to send php messages to the console like with javascript for testing. Thanks!

icon

Anthony ogundipe (ID: 000000d290a4eeb2) Voted 5 ★ - Updated 01/20/2016 Works fine on my pc