Extension controls not appearing?
- This extension only works with HTML5 audio and video. If the
- controls never appear, you may be looking at Flash content instead.
- Right-click the player to check: if the menu mentions Flash, that
- is the issue. Most sites will fall back to HTML5 when Flash is not
- available, so disabling Flash in the browser can help.
+ Speeder works with HTML5 video and, when enabled above, HTML5 audio.
+ Check that the current site is enabled, then use the popup’s
+ “Rescan page for videos” action after a player loads
+ dynamically. Browser-internal pages and players that do not expose
+ HTML5 media to extensions cannot be controlled.
diff --git a/extension/options/options.js b/extension/options/options.js
index 025a68f..9c7d5c7 100644
--- a/extension/options/options.js
+++ b/extension/options/options.js
@@ -1159,15 +1159,7 @@ function addSiteRuleShortcut(rowsEl, action, binding, value, force) {
var actionLabel = document.createElement("div");
actionLabel.className = "shortcut-label";
- var actionLabelText = actionLabels[action] || action;
- if (action === "toggleSubtitleNudge") {
- var ruleEl = rowsEl.closest(".site-rule");
- var pattern = ruleEl ? ruleEl.querySelector(".site-pattern").value : "";
- if (!pattern.toLowerCase().includes("youtube.com")) {
- actionLabelText += " (only for YouTube embeds)";
- }
- }
- actionLabel.textContent = actionLabelText;
+ actionLabel.textContent = actionLabels[action] || action;
var keyInput = document.createElement("input");
keyInput.className = "customKey";
@@ -1834,7 +1826,7 @@ function initLucideButtonIconsUI() {
slug +
" for " +
action +
- ". Reload pages for the hover bar."
+ ". Open pages update automatically."
);
});
})
diff --git a/extension/popup/popup.js b/extension/popup/popup.js
index a8b63b7..0320844 100644
--- a/extension/popup/popup.js
+++ b/extension/popup/popup.js
@@ -527,7 +527,7 @@ document.addEventListener("DOMContentLoaded", function () {
function settingsSavedReloadMessage(enabled) {
setStatusMessage(
- `${enabled ? "Enabled" : "Disabled"}. Reload page to see changes`
+ `${enabled ? "Enabled" : "Disabled"}. Open pages update automatically.`
);
}
diff --git a/tests/popup.integration.test.js b/tests/popup.integration.test.js
index 0db38e9..d9295ad 100644
--- a/tests/popup.integration.test.js
+++ b/tests/popup.integration.test.js
@@ -90,6 +90,9 @@ describe("popup UI", () => {
expect(document.getElementById("enable").classList.contains("hide")).toBe(
false
);
+ expect(document.getElementById("status").textContent).toBe(
+ "Disabled. Open pages update automatically."
+ );
expect(chrome.browserAction.setIcon).not.toHaveBeenCalled();
});