Amazon GoSearch New DOC New XLS New PPT

OffiDocs favicon

DebugR in Chrome with OffiDocs

DebugR  screen for extension Chrome web store in OffiDocs Chromium

Ad


DESCRIPTION


Server code (example is php, but the extension is language agnostic): <?php 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: <script src='js/debugr.

js'></script> <script> debugR(function (message, details) { console.

log(message); }); </script>

Additional Information:


- Offered by Bob Fanger
- Average rating : 0 stars (hated it)
- Developer This email address is being protected from spambots. You need JavaScript enabled to view it.

DebugR web extension integrated with the OffiDocs Chromium online


Run Chrome Extensions

×
Advertisement
❤️Shop, book, or buy here — no cost, helps keep services free.