hello, I want to change the Odoo browser tab title, by extending js webclient, but I always fail.
Here's what I wrote on the js and nothing happend:
/** @odoo-module **/
import { ActionContainer } from "@web/webclient/actions/action_container";
import { NavBar } from "@web/webclient/navbar/navbar";
import { useBus, useEffect, useService } from "@web/core/utils/hooks";
import { useTooltip } from "@web/core/tooltip/tooltip_hook";
import { NotUpdatable } from "@web/core/utils/components";
import { MainComponentsContainer } from "@web/core/main_components_container";
import { useOwnDebugContext } from "@web/core/debug/debug_context";
import { registry } from "@web/core/registry";
import { DebugMenu } from "@web/core/debug/debug_menu";
import { localization } from "@web/core/l10n/localization";
import { WebClient } from "@web/webclient/webclient";
import { hasTouch } from "@web/core/browser/feature_detection";
const { hooks } = owls;
export class WebClientExtends extends WebClient {
    setup() {
        this.menuService = useService("menu");
        this. actionService = useService("action");
        this. title = useService("title");
        this. router = useService("router");
        this. user = useService("user");
        useService("legacy_service_provider");
        useOwnDebugContext({ categories: ["default"] });
        if (this. env. debug) {
            registry. category("systray").add(
                "web. debug_mode_menu",
;{
                    Components: DebugMenu,
                },
                { sequences: 100 }
            );
        }
        this. localization = localization;
        // this. title. setParts({ zopenerp: "Odoo" }); // zopenerp is easy to grep
        this. title. setParts({ zopenerp: "Cookies" }); // zopenerp is easy to grep
        useBus(this.env.bus, "ROUTE_CHANGE", this.loadRouterState);
        useBus(this.env.bus, "ACTION_MANAGER:UI-UPDATED", (mode) => {
            if (mode !== "new") {
                this.el.classList.toggle("o_fullscreen", mode === "fullscreen");
            }
        });
        useEffect(
            () => {
                this. loadRouterState();
            },
            () => []
        );
        useExternalListener(window, "click", this. onGlobalClick, { capture: true });
        useTooltip();
    }
 
}
WebClientExtends. components = { ...WebClient. components};
Can anyone help me fix this code?
