From 501e06f02d70e47a9982262b6beff348a1cc4da7 Mon Sep 17 00:00:00 2001 From: Ron Snyder Date: Thu, 5 Sep 2024 09:01:37 -0400 Subject: [PATCH] testing --- ghp.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ghp.js b/ghp.js index 076eea8..ff580a4 100644 --- a/ghp.js +++ b/ghp.js @@ -1111,6 +1111,7 @@ let hasWcCss = stylesheets.find(href => href === 'http://localhost:8080/wc/src/i let isMounted = document.querySelector('body > article') !== null console.log(import.meta.url) +console.log(Array.from(document.getElementsByTagName('script')).filter(script => script.src).find(script => script.src.indexOf('ghp.js') > 0)) console.log(document.scripts) let source = import.meta.url ? import.meta.url.replace(/\/ghp\.js$/, '') : 'tbd'