Hi everyone,
If you’ve moved to CasparCG 2.5, you probably noticed that navigating to http://127.0.0.1:9222 now shows a blank white page. Additionally, using the standard chrome://inspect method can be very sluggish and slow.
I’ve created a simple Bookmarklet that restores the list of active templates and opens the debugger using your local browser, making it much faster.
How to use it:
- Create a new bookmark in your browser (Chrome/Edge).
- Name it Caspar Debug.
- In the URL/Location field, paste this code:
javascript:(function(){fetch('http://127.0.0.1:9222/json').then(r=>r.json()).then(data=>{let h='<style>body{font-family:Segoe UI,sans-serif;background:#111;color:#eee;padding:40px}h1{color:#6c5;border-bottom:2px solid #333;padding-bottom:10px} .item{background:#222;padding:15px;margin:10px 0;border-radius:8px;border:1px solid #444;transition:0.2s}.item:hover{border-color:#6c5;background:#282828}a{color:#4af;text-decoration:none;font-weight:bold;font-size:18px;display:block}small{color:#888;display:block;margin-top:5px}</style>';h+='<h1>CasparCG Templates</h1>';data.forEach(p=>{let l='http://127.0.0.1:9222/devtools/inspector.html?ws='+p.webSocketDebuggerUrl.replace('ws://','');h+=%60<div class='item'><a href='${l}'>${p.title||'No Title'}</a><small>${p.url}</small></div>%60;});document.body.innerHTML=h;});})();
- To use: Navigate to
http://127.0.0.1:9222in your browser first (it will be blank), then click your new Caspar Debug bookmark.