chatziko / location-guard

Hide your geographic location from websites.
411 stars 67 forks source link

low/medium/high levels don't work #93

Open se17p opened 2 years ago

se17p commented 2 years ago

Also checked on https://browserleaks.com/geo

Linux Firefox 91.11.0esr (64-bit)

Error message in log:

Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. [common.js:119](moz-extension://ea351057-d12d-4272-b266-ad8d7f74a3a0/js/common.js)
    call moz-extension://ea351057-d12d-4272-b266-ad8d7f74a3a0/js/common.js:119

which refers to browser.tabs.sendMessage(tabId, message, resolve); in:

Browser.rpc.call = async function(tabId, name, args) {
    return new Promise(resolve => {
        var message = { method: name, args: args };
        if(tabId)
            browser.tabs.sendMessage(tabId, message, resolve);
        else
            browser.runtime.sendMessage(null, message, resolve);
    });
}

Seems to be similar to #75, although the icon is properly shown