Refined-github: Stop opening tab with refined github updates

Created on 8 Mar 2018  路  9Comments  路  Source: sindresorhus/refined-github

Please disable that, it's annoying af. 馃槃

1137

bug

Most helpful comment

Pretty sure it opened at least twice for me in the last 24h.

All 9 comments

only ever happens once for everyone, and for new users only when they install the extension (which is fair)

https://github.com/sindresorhus/refined-github/pull/1141#issuecomment-371046716

Pretty sure it opened at least twice for me in the last 24h.

Closing as duplicate but hopefully this will be removed.

https://github.com/sindresorhus/refined-github/blob/6cdb75e8d564a37cac01d55aaaf6121e9633aafa/source/background.js#L44

Is this correct? Shouldn't it be const userWasNotified = await browser.storage.local.get('userWasNotified');?

Could you re-open? The tab has opened for me multiple times now. The getter looks correct (ref), but the setter however seems to be incorrect: https://github.com/sindresorhus/refined-github/blob/6cdb75e8d564a37cac01d55aaaf6121e9633aafa/source/background.js#L55

I believe this should be:

browser.storage.local.set({ userWasNotified: true });

Refs:
https://developer.chrome.com/extensions/storage#method-StorageArea-set
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/storage/StorageArea/set

This is happening for me too - twice in the last day or so. Happy to see a PR is up already!

Yeah I uninstalled the plugin.

Tab has opened 3 times, maybe 4, for me.

Sorry about this! We added that feature hastily.

You have seen it 3 times because the plugin has updated 3 times since then. #1148 will be merged before the next release, I'm just waiting for @sindresorhus to double check.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hkdobrev picture hkdobrev  路  3Comments

fregante picture fregante  路  3Comments

pawelad picture pawelad  路  3Comments

hkdobrev picture hkdobrev  路  3Comments

juliocanares picture juliocanares  路  3Comments