hundertzehn/mocoapp-browser-extension

[BUG][FIREFOX] Too long popup URL can't be opened

marcopixel opened this issue ยท 2 comments

We are currently facing an issue where the popup.html can't be opened in Firefox, presumably because of a too long URL passed down (since it does include the projects + last activities as URL encoded JSON). It will simply remove the loading icon and show a white box without contents.

The URL has 1.084.584 characters and will not load inside the iFrame or even when pasted into the address bar, so this seems to be an issue with Firefox not being able to load/open such a long URL. But since this limit might also be on Chrome, it might be in your interest to replace this method of data transmission anyways.

image
image

I do not know your current status of the migration to v3 (since the latest commit reverted the changes again), but there is an useful library called webext-brige which allows for much easier messaging inside web extensions. Might be useful if you need to change some stuff for v3 anyways ๐Ÿ˜‰

If you need an working example/repro, feel free to contact me via email on vockner@futureweb.at (ENG/DE) ๐Ÿ˜„

Hi @marcopixel thank you for the description. We'll look into that. It might take 2 weeks until a fix. Sorry for the inconvenience until then. We'll keep you updated here about the status โ˜๏ธ

The migration has been reverted due to some issues we discovered afterwards. We'll do another attempt soon. That library might indeed be a great option we'll also verify!

Best Tobias

@marcopixel This has been fixed and released with Version 1.9.2. Thanks for reporting!