PageSourceSearch

https://smartschoolstats.be/stats/functions/class-comparison/removeClassmate.js

js smartschoolstats.be collected 2026-10-02 01:17:31 UTC 442 bytes, 11 lines download raw bytes

1/* Verwijdert een klasgenoot uit de vergelijking op basis van key. */
2function removeClassmate(key) {
3    chrome.storage.local.get([CLASSMATES_KEY], (res) => {
4        const classmates = res[CLASSMATES_KEY] || {};
5        delete classmates[key];
6        chrome.storage.local.set({ [CLASSMATES_KEY]: classmates }, () => {
7            addLog(trf('classmateRemoved', { name: key }), 'info');
8            renderClassView();
9        });
10    });
11}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.