Benign firefox Download

louder movies 1.0

“Boost volume up to 600% on any page with a video or audio player.”

Archive contains Mozilla COSE digest manifestArchive contains Mozilla COSE signature file
SHA-25655a20ab2202354fc7ea89ece1ef948b33df47eb3bc7e55d418bd3d49f0a300c7

Evidence

Uses browser.* namespace core APIs content.js · lines 1–48
⋯23 lines
24
25 function scan(root) {
26 root.querySelectorAll("video, audio").forEach(hook);
27 root.querySelectorAll("*").forEach((n) => { if (n.shadowRoot) scan(n.shadowRoot); });
28 }
29
30 function apply(v) {
31 gainValue = v;
32 if (v !== 1) scan(document); // only touch the page once boosting is requested
33 if (ctx && ctx.state === "suspended") ctx.resume();
34 document.querySelectorAll("video, audio").forEach((el) => {
35 const g = hooked.get(el);
36 if (g) g.gain.value = v;
37 });
38 }
39
40 // catch players added later
41 new MutationObserver(() => { if (gainValue !== 1) scan(document); })
42 .observe(document, { childList: true, subtree: true });
43
44 browser.runtime.onMessage.addListener((msg) => {
45 if (msg.type === "set") apply(msg.value);
46 if (msg.type === "get") {
47 return Promise.resolve({ value: gainValue, found: !!document.querySelector("video, audio") });
48 }
Extension declares an action popup page manifest.json · lines 1–40
1{
2 "manifest_version": 3,
3 "name": "Volume Booster",
4 "version": "1.0",
5 "description": "Boost volume up to 600% on any page with a video or audio player.",
6 "permissions": [
7 "activeTab"
8 ],
9 "host_permissions": [
10 "<all_urls>"
11 ],
12 "action": {
13 "default_popup": "popup.html",
14 "default_title": "Volume Booster"
15 },
16 "content_scripts": [
17 {
18 "matches": [
19 "<all_urls>"
20 ],
21 "js": [
22 "content.js"
23 ],
24 "all_frames": true,
25 "match_about_blank": true,
26 "run_at": "document_start"
27 }
28 ],
29 "browser_specific_settings": {
30 "gecko": {
31 "id": "volume-booster-alexl@local",
32 "strict_min_version": "142.0",
33 "data_collection_permissions": {
34 "required": [
35 "none"
36 ]
⋯4 lines
Page loads a popup.js script popup.html · lines 1–16
⋯13 lines
14<button id="reset">Reset to 100%</button>
15<small>Applies to this tab (all frames).</small>
16<script src="popup.js"></script>
Send-call object or array argument syntax popup.js · lines 1–18
1const slider = document.getElementById("slider");
2const val = document.getElementById("val");
3
4async function send(msg) {
5 const [tab] = await browser.tabs.query({ active: true, currentWindow: true });
6 return browser.tabs.sendMessage(tab.id, msg).catch(() => null);
7}
8function show(p) { slider.value = p; val.textContent = p + "%"; }
9
10slider.addEventListener("input", () => {
11 show(slider.value);
12 send({ type: "set", value: slider.value / 100 });
13});
14document.getElementById("reset").addEventListener("click", () => {
⋯4 lines

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.