ViewImage icon indicating copy to clipboard operation
ViewImage copied to clipboard

"Open in new tab" doesn't open in new tab

Open o-r-i-z-u-r-u opened this issue 2 years ago • 2 comments

Running Brave 1.36.109 Chromium: 99.0.4844.51

Any suggestions?

o-r-i-z-u-r-u avatar Mar 04 '22 23:03 o-r-i-z-u-r-u

Had the same problem with Firefox 98. Went into debugging and found this piece of code:

chrome.contextMenus.onClicked.addListener(
    (info, tab) => {
        // [...]
        if (info.menuItemId === 'ViewImage-SearchByImage') {
            chrome.permissions.request({
                permissions: ['tabs'],
                origins: [tab.url],
            }, (granted) => {
                if (granted) {
                    // [...]

For me, the tabs permission wasn't granted in my extension settings (about:addons in Firefox):

grafik

Enabling both options fixed the issue for me.

FeBe95 avatar Mar 24 '22 00:03 FeBe95

For me, the tabs permission wasn't granted in my extension settings (about:addons in Firefox):

grafik

Enabling both options fixed the issue for me.

@FeBe95 thank you for this, i was looking for so long online until i came across this solution

Splinter7149 avatar Oct 19 '22 10:10 Splinter7149