Closed ImprovedTube closed 9 months ago
Cast Kodi doesn't work with older versions of Firefox. If you specify that Cast Kodi works with Firefox 1, the user can open an issue (or put a bad rating in the stores) to report that it doesn't work.
For the alert()
, it will not work with Firefox:
await
at the top level, so Cast Kodi will not be able to run.manifest.json
format. Cast Kodi may also not run due to a new JavaScript syntax.And only the latest version of Firefox and the ESR version are maintained (in December 2023: 120 and 115). If you use another version of Firefox, I recommend updating it (or using a browser maintained on your OS).
It's for these reasons that I only support the latest version of Firefox. For the ESR version, it will be reasonable to support it, but I don't have time to test this version (see https://github.com/regseb/castkodi/issues/100#issuecomment-1557163562).
if you fill in the blank, i can make another PR or commit like:
chrome.runtime.onInstalled.addListener(function(installed){if(installed.reason=='install'){if 116 > Number(navigator.userAgent.match(new RegExp(Chrome|Firefox + '/([0-9]+)'))){alert("[Just to make sure:] Some of our features might require chrome version 116+.... _______________________") }
( - or rather add it precisely, when that feature is first enabled as indicated by its button or storage change.)