Receive debugging information alongside XMLHttpRequests.
DebugR Extension
if (isset($_SERVER['HTTP_DEBUGR'])) { // Only send headers when DebugR is enabled
// Send a message alongside the request.
header('DebugR: '.base64_encode('Hello DebugR'));
// Append a unique label to send multiple messages.
header('DebugR-my-first-label: '.base64_encode('Moarr information'));
}
?>
Client via javascript:
window.addEventListener('message', function (e) {
if (e.data.debugR) {
console.log(e.data);
}
}, false);
document.documentElement.setAttribute('data-debugR'); // Signal the extension that the eventlistener is active.
Using debugr.js helper:
Source Manifest.json
Similar Extensions
DISPLAY_DEBUG_INFO Cookie Creator 26 0 ★ 159KiB
DHTMLConsole 26 5 ★ 357KiB
XHR JSON Panel 26 18 ★ 45.82KiB
ARSKit Web Debugger 26 3 ★ 180KiB
Developer URL bar 26 2 ★ 41.03KiB
PHP shell 26 19 ★ 12.46KiB
Witchcraft: JS/CSS injector 26 10 ★ 27.24KiB
Dev Helpers 26 6 ★ 135KiB
Console Injector 26 12 ★ 20.4KiB
Quick Overflow 26 3 ★ 57.43KiB
DOM-JSON Tree Matcher 26 0 ★ 18.58KiB
Web Injector 26 8 ★ 152KiB
Headerbid Expert 26 23 ★ 32.83KiB
Scripter debugger extension 26 2 ★ 1.04MiB
JScript tricks 26 50 ★ 340KiB
d3coder 26 37 ★ 108KiB
Lavaca Developer Tools 26 0 ★ 10.42MiB
captureCalls 26 1 ★ 9.63KiB
Code Formatter 26 35 ★ 5.9MiB
DevTools Classes & Atributes panel 26 4 ★ 12.75KiB
Finding patterns 26 5 ★ 171KiB
Hidden Input Finder 26 1 ★ 245KiB
LiveScriptConsole 26 2 ★ 388KiB
js Encoder 26 4 ★ 406KiB