rename: Outlook Relook → Outcut, add keyboard presets, remove design UI from popup
- Rename extension to "Outcut" throughout all source files and console logs - Add KEY_PRESETS object (gmail/outlook) and matchesAction() helper to keyboard.js - Rewrite handleKeydown to use preset-based dispatch instead of hardcoded switch - Update updateSettings to re-init when keyboardPreset changes - Add keyboardPreset: 'gmail' default to settings-defaults.js - Replace popup Design Tweaks UI with preset dropdown + dynamic help text - Keep all design tweak content script logic intact (activatable via storage) - Update manifest: version 1.0.0, remove activeTab, add homepage_url
This commit is contained in:
@@ -52,7 +52,7 @@ window.OutlookRelook.Observer = (function () {
|
||||
for (const el of elements) {
|
||||
if (el.style.display !== 'none') {
|
||||
el.style.display = 'none';
|
||||
console.log('[Outlook Relook] Suppressed: ' + name, el);
|
||||
console.log('[Outcut] Suppressed: ' + name, el);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -72,7 +72,7 @@ window.OutlookRelook.Observer = (function () {
|
||||
var text = el.textContent || '';
|
||||
if (pattern.test(text) && text.length < 200) {
|
||||
el.style.display = 'none';
|
||||
console.log('[Outlook Relook] Suppressed by text: "' + text.trim().substring(0, 50) + '"', el);
|
||||
console.log('[Outcut] Suppressed by text: "' + text.trim().substring(0, 50) + '"', el);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -105,7 +105,7 @@ window.OutlookRelook.Observer = (function () {
|
||||
subtree: true,
|
||||
});
|
||||
|
||||
console.log('[Outlook Relook] Observer started');
|
||||
console.log('[Outcut] Observer started');
|
||||
}
|
||||
|
||||
function updateSettings(settings) {
|
||||
@@ -118,7 +118,7 @@ window.OutlookRelook.Observer = (function () {
|
||||
if (observer) {
|
||||
observer.disconnect();
|
||||
observer = null;
|
||||
console.log('[Outlook Relook] Observer stopped');
|
||||
console.log('[Outcut] Observer stopped');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user