Skip to content

Commit e2a169b

Browse files
Merge pull request #6 from FakeProfileDetection/dev-keystroke-timing-28June2025
Dev keystroke timing 28 june2025
2 parents 18fc433 + a3e6c68 commit e2a169b

15 files changed

Lines changed: 1308 additions & 411 deletions

File tree

.gitignore

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
1+
# Node modules
12
node_modules/
2-
package-lock.json
3-
.netlify
3+
4+
# Build outputs
5+
dist/
6+
build/
7+
8+
# Rust/WASM build artifacts
9+
wasm-keystroke-capture/target/
10+
wasm-keystroke-capture/Cargo.lock
11+
12+
# OS files
413
.DS_Store
14+
Thumbs.db
15+
16+
# IDE files
17+
.vscode/
18+
.idea/
19+
20+
# Environment variables
21+
.env
22+
.env.local
23+
24+
# Logs
25+
*.log
26+
npm-debug.log*

pages/fake_pages/Facebook-Clone/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,16 @@ <h4>Conversation</h4>
333333
</div>
334334
<!-- todo: Right SIdeBar End -->
335335

336+
<!-- Load WASM module -->
337+
<script type="module">
338+
import { wasmKeystrokeManager } from '../../../utils/wasm-keystroke.js';
339+
// Make it globally available for common.js
340+
window.wasmKeystrokeManager = wasmKeystrokeManager;
341+
// Debug: Check if it loaded
342+
console.log('WASM manager loaded?', window.wasmKeystrokeManager);
343+
344+
</script>
345+
336346
<script src="../../../utils/common.js"></script>
337347
<script src="script.js"></script>
338348
</body>

pages/fake_pages/instagram-clone/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -955,6 +955,16 @@ <h2>Suggestions for You</h2>
955955
</div>
956956
</button>
957957
</nav>
958+
959+
<!-- Load WASM module -->
960+
<!-- Load WASM module -->
961+
<script type="module">
962+
import { wasmKeystrokeManager } from '../../../utils/wasm-keystroke.js';
963+
// Make it globally available for common.js
964+
window.wasmKeystrokeManager = wasmKeystrokeManager;
965+
// Debug: Check if it loaded
966+
console.log('WASM manager loaded?', window.wasmKeystrokeManager);
967+
</script>
958968
<script src="../../../utils/common.js"></script>
959969
<script src="script.js" defer></script>
960970
</body>

pages/fake_pages/twitter-clone/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,15 @@ <h2>What's happening?</h2>
205205
</div>
206206
</div>
207207
<!-- widgets ends -->
208+
<!-- Load WASM module -->
209+
<script type="module">
210+
import { wasmKeystrokeManager } from '../../../utils/wasm-keystroke.js';
211+
// Make it globally available for common.js
212+
window.wasmKeystrokeManager = wasmKeystrokeManager;
213+
// Debug: Check if it loaded
214+
console.log('WASM manager loaded?', window.wasmKeystrokeManager);
215+
216+
</script>
208217
<script src="../../../utils/common.js"></script>
209218
<script src="script.js"></script>
210219
</body>

0 commit comments

Comments
 (0)