Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
# Node modules
node_modules/
package-lock.json
.netlify

# Build outputs
dist/
build/

# Rust/WASM build artifacts
wasm-keystroke-capture/target/
wasm-keystroke-capture/Cargo.lock

# OS files
.DS_Store
Thumbs.db

# IDE files
.vscode/
.idea/

# Environment variables
.env
.env.local

# Logs
*.log
npm-debug.log*
10 changes: 10 additions & 0 deletions pages/fake_pages/Facebook-Clone/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,16 @@ <h4>Conversation</h4>
</div>
<!-- todo: Right SIdeBar End -->

<!-- Load WASM module -->
<script type="module">
import { wasmKeystrokeManager } from '../../../utils/wasm-keystroke.js';
// Make it globally available for common.js
window.wasmKeystrokeManager = wasmKeystrokeManager;
// Debug: Check if it loaded
console.log('WASM manager loaded?', window.wasmKeystrokeManager);

</script>

<script src="../../../utils/common.js"></script>
<script src="script.js"></script>
</body>
Expand Down
10 changes: 10 additions & 0 deletions pages/fake_pages/instagram-clone/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,16 @@ <h2>Suggestions for You</h2>
</div>
</button>
</nav>

<!-- Load WASM module -->
<!-- Load WASM module -->
<script type="module">
import { wasmKeystrokeManager } from '../../../utils/wasm-keystroke.js';
// Make it globally available for common.js
window.wasmKeystrokeManager = wasmKeystrokeManager;
// Debug: Check if it loaded
console.log('WASM manager loaded?', window.wasmKeystrokeManager);
</script>
<script src="../../../utils/common.js"></script>
<script src="script.js" defer></script>
</body>
Expand Down
9 changes: 9 additions & 0 deletions pages/fake_pages/twitter-clone/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,15 @@ <h2>What's happening?</h2>
</div>
</div>
<!-- widgets ends -->
<!-- Load WASM module -->
<script type="module">
import { wasmKeystrokeManager } from '../../../utils/wasm-keystroke.js';
// Make it globally available for common.js
window.wasmKeystrokeManager = wasmKeystrokeManager;
// Debug: Check if it loaded
console.log('WASM manager loaded?', window.wasmKeystrokeManager);

</script>
<script src="../../../utils/common.js"></script>
<script src="script.js"></script>
</body>
Expand Down
Loading