Benign chrome Download

maoiencdkifcakgnlgkmbecbmbooojah

Assigns DOM innerHTMLBrowser storage getItem call

Evidence

Browser localStorage access lines 1–7
1class CupcakeCascade {
2 constructor() {
3 this.grid = [];
4 this.score = 0;
5 this.bestScore = parseInt(localStorage.getItem('cupcakeBest') || '0');
6 this.gameWon = false;
7 this.size = 4;
setTimeout timer usage lines 61–70
61 if (this.checkWin() && !this.gameWon) {
62 this.gameWon = true;
63 setTimeout(() => {
64 document.getElementById('gameWin').classList.remove('hidden');
65 }, 500);
⋯5 lines
+= string concatenation from array access lines 105–114
105 if (j < row.length - 1 && row[j] === row[j + 1]) {
106 merged.push(row[j] * 2);
107 this.score += row[j] * 2;
108 j++;
109 } else {
⋯5 lines
Assigns DOM innerHTML lines 237–241
237 renderBoard() {
238 const board = document.getElementById('gameBoard');
239 board.innerHTML = '';
240
241 for (let i = 0; i < this.size; i++) {
Persists data in browser storage lines 270–274
270 if (this.score > this.bestScore) {
271 this.bestScore = this.score;
272 localStorage.setItem('cupcakeBest', this.bestScore);
273 }
274

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.