RequestPolicyContinued / requestpolicy

a web browser extension that gives you control over cross-site requests. Available for XUL/XPCOM-based browsers.
https://github.com/RequestPolicyContinued/requestpolicy/wiki
Other
252 stars 35 forks source link

Minor change required for Pale Moon 30+ compatibility #913

Open dawidi opened 2 years ago

dawidi commented 2 years ago

The addon's UI components currently do not work on the just-released Pale Moon 30.0.x - it mis-detects the browser as an Australis-based Firefox (because the version number was incremented and the GUID changed back to the one used by Firefox), but that is easy to fix:

In requestpolicy/src/conditional/legacy/content/bootstrap/api/misc-infos.ts at line 34, the test should probably be updated from public isAustralis: boolean = this.isFirefox && this.vc.compare(this.appinfo.platformVersion, "29") >= 0; to public isAustralis: boolean = this.isFirefox && this.isGecko;

For my own usage, I've replaced the test entirely with just false in the xpi without actually rebuilding the addon, and it works fine.