Propagate messages across server boundary

This commit is contained in:
Tamius Han 2025-06-16 21:58:35 +02:00
parent ec0896e17a
commit f7f046ea53
5 changed files with 21 additions and 3 deletions

View File

@ -2,6 +2,14 @@
## v6.0 (current major)
### v6.3.0
* Added zoom segment to in-player UI and popup.
* Fixed keyboard zoom
* Added additional zoom options. If you wonder how zoom options differ from crop, mess around and find out.
* Subdomains now inherit same settings as their parent domain by default
* Extension detects embedded content (but not always)
* Added `www.youtube-nocookie.com` to "officially supported" list
### v6.2.5
* Popup appearance changed — UI advertisement panel was moved to the popup header

View File

@ -274,8 +274,14 @@ export default {
try {
this.logger.log('info','popup', '[popup::getSite] Requesting current site ...')
// CSM.port.postMessage({command: 'get-current-site'});
this.eventBus.send(
'probe-video',
{},
{ comms: {forwardTo: 'active'} }
);
this.eventBus.send(
'get-current-site',
{},
{
comms: {forwardTo: 'active'}
}

View File

@ -5,13 +5,15 @@
<h1>What's new</h1>
<!-- <p>Full changelog for older versions <a href="https://github.com/tamius-han/ultrawidify/blob/master/CHANGELOG.md" target="_blank">is available here</a>.</p> -->
<h2>6.2.6</h2>
<h2>6.3.0</h2>
<ul>
<li>Automatic aspect ratio detection: do not apply negative aspect ratios</li>
<li>Keyboard zoom now works</li>
<li><code>www.youtube-nocookie.com</code> has been added to the "officially supported" list</li>
<li>Fixed the bug where UI would sometimes refuse to stay hidden</li>
<li>New experimental zoom options</li>
<li>Subdomains now inherit same settings as their parent domain by default</li>
<li>Extension attempts to detect embedded content.</li>
</ul>
</div>
<div style="width: 1rem; height: 0px;"></div>

View File

@ -186,7 +186,9 @@ export class AardDebugUi {
<div style="flex-grow: 1">${this.generateMiniGraphBar(this.aard.timer.average)}</div>
</div>
<div style="display: flex; flex-direction: row">
<div style="width: 120px">Last chg.:</div><div style="flex-grow: 1">${this.generateMiniGraphBar(this.aard.timer.lastChange)}</div>
<div style="width: 120px">Last chg.:</div>
<div></div>
<div style="flex-grow: 1">${this.generateMiniGraphBar(this.aard.timer.lastChange)}</div>
</div>
`;

View File

@ -146,7 +146,7 @@ class CommsClient {
}
// send to server
if (!context?.borderCrossings.commsServer) {
if (!context?.borderCrossings?.commsServer) {
return chrome.runtime.sendMessage(null, message, null);
}
}