-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebug.html
More file actions
36 lines (31 loc) · 1.44 KB
/
Copy pathdebug.html
File metadata and controls
36 lines (31 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html>
<head>
<title>SusRadar Debug</title>
</head>
<body>
<h1>Debug Test</h1>
<div id="output"></div>
<script src="src/components/common.js"></script>
<script src="src/storage/LocalStorageProvider.js"></script>
<script src="src/matching/ExactMatcher.js"></script>
<script>
try {
document.getElementById('output').innerHTML += '<p>✅ common.js loaded</p>';
console.log('SiteInfoProvider:', typeof SiteInfoProvider);
console.log('URLMatcher:', typeof URLMatcher);
console.log('SusRadarUtils:', typeof SusRadarUtils);
document.getElementById('output').innerHTML += '<p>✅ Base classes available</p>';
console.log('LocalStorageProvider:', typeof LocalStorageProvider);
document.getElementById('output').innerHTML += '<p>✅ LocalStorageProvider available</p>';
console.log('ExactMatcher:', typeof ExactMatcher);
document.getElementById('output').innerHTML += '<p>✅ ExactMatcher available</p>';
const provider = new LocalStorageProvider();
document.getElementById('output').innerHTML += '<p>✅ LocalStorageProvider instantiated</p>';
} catch (error) {
document.getElementById('output').innerHTML += '<p>❌ Error: ' + error.message + '</p>';
console.error(error);
}
</script>
</body>
</html>