1document.addEventListener("DOMContentLoaded", () => { 2 const feedWidgets = document.querySelectorAll(".bluesky-feed-widget"); 3 4 // Check if any widgets are present. 5 if (!feedWidgets.length) { 6 console.warn("No Bluesky feed widgets found."); 7 return; 8 } 9 10 // Process each widget. 11 feedWidgets.forEach((feedWidget) => { 12 const widgetSettings = feedWidget.dataset.settings 13 ? JSON.parse(feedWidget.dataset.settings) 14 : null; 15 16 if (!widgetSettings) { 17 console.warn("Widget settings missing for a Bluesky feed widget."); 18 return; 19 } 20 21 // Log settings for debugging. 22 console.log("Rendering widget with settings:", widgetSettings); 23 24 // Render feed using shared function. 25 renderFeed(feedWidget, widgetSettings); 26 }); 27});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.