DebugR

提供方: Bob Fanger
0
开发者工具 27 位用户

插件简介

Receive debugging information alongside XMLHttpRequests.
Server code (example is php, but the extension is language agnostic):

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:


其他信息

ID odgodmleeenojpjigkkbicijhpplolmm 版本 1.3 上次更新日期 2018年5月16日 大小 666KiB 语言 支持1 种语言 开发者

bfanger@gmail.com

适用浏览器

谷歌浏览器、其他Chromium内核的浏览器

DebugR Chrome插件下载

为打击盗链困扰,本站已启用人机验证
微信扫码关注左侧公众号,发送“插件”二字获得验证码,验证码5分钟全站有效