Closed Bug 1473942 Opened 6 years ago Closed 6 years ago

Addon opens url after installation fired after updating Firefox

Categories

(WebExtensions :: General, defect)

61 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mojtabad2003, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (Linux; Android 7.0; TRT-L21A Build/HUAWEITRT-L21A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.109 Mobile Safari/537.36 Steps to reproduce: I get this mail. Also I know other users have this issue too, But I don't have this issue in my PC. Hello! I'm one of the Firefox users that also uses your add-on named Popup Blocker Ultimate. So far I find this add-on effective that for every popup, I would get the notification of the pop-ups getting blocked. I do find one issue though, but I hope you'll hear me nicely on this. Lately I noticed something that's quite odd when I'm updating my Firefox nowadays. For some reason, after I'm opening my Firefox after doing the updates, one of the new tabs happened to be your site. So I checked your add-ons to see if I updated it, but I don't think so. I'm wondering if it have to do with the Firefox update removing some preferences to your add-on or something? I meant, it's kinda odd seeing the page pops up every time I'm updating my Firefox. I did intend to say that issue on the review thing, but the guidelines says that was not the place to do that, so I have removed that from the review, but I guess you have noticed as I'm in the middle of writing this. I'm using Firefox 61.0.1 (64-bit), and I'm using Windows 8.1 (also 64-bit). I hope this will be fixed soon :) Sincerely Expected results: My new tab must show once after installation. I used your API.
Component: Untriaged → General
Product: Firefox → WebExtensions
The extension is creating a new tab unconditionally from a listener for runtime.onInstalled. But that event is fired in a few different cases, including when the browser is updated: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/runtime/onInstalled
Component: General → Add-ons
Product: WebExtensions → Tech Evangelism
Version: 61 Branch → Firefox 61
There is no need to be fired on Firefox Update. It is annoying for users. Sincerely
This is a bug in the extension, you'll have to talk to the extension author and ask them to update the extension to use the onInstalled event as it is documented.
(In reply to Andrew Swan [:aswan] from comment #3) > This is a bug in the extension, you'll have to talk to the extension author The reporter is the extension author.
The issue is that why this function should fire after browser updates? There is no need to fire it in that case. Sincerely
(In reply to Mojtaba Daneshi from comment #5) > The issue is that why this function should fire after browser updates? > There is no need to fire it in that case. This API was originally created in Google Chrome and duplicated in Firefox for compatibility. There are multiple events that extensions might be interested in, it could have been implemented with separate events but now that this is the documented behavior, we can't change it without breaking existing extensions. Please read the documentation, you can use the reason property on the details object passed to the listener to distinguish the different cases.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
Component: Add-ons → General
Product: Tech Evangelism → WebExtensions
Version: Firefox 61 → 61 Branch
You need to log in before you can comment on or make changes to this bug.