Open GIMPS exponent numbers
Copyright © 2022 Teal Dulcet
Firefox, Chromium and Thunderbird add-on/WebExtension to open Great Internet Mersenne Prime Search (GIMPS) 2ᴾ-1 exponent numbers.
- Allows opening exponent numbers in:
- mersenne.org (2 - 999,999,937)
- mersenne.ca (2 - 9,999,999,967)
- Supports opening multiple exponents in single page (mersenne.ca only)
- Type exponent numbers directly in the address bar/omnibox (Firefox and Chrome only, use the
exp
keyword) - Shows a live preview of the exponent(s) that would open
- Supports exponents with an optional
M
prefix and optional comma or space digit separators - Ignores numbers that are not prime using the deterministic Miller–Rabin primality test
- Supports opening exponents in the current tab, a new tab (default), a new window or a new private/incognito window (Firefox and Chrome only)
- Supports lazy loading tabs (Firefox and Chrome only)
- Supports the light/dark mode of your system automatically
- Settings automatically synced between all browser instances and devices (Firefox and Chrome only)
- Follows the Firefox and Thunderbird Photon Design
To contribute to GIMPS, please see the Distributed Computing scripts.
❤️ Please visit tealdulcet.com to support this extension and my other software development.
- Addons.mozilla.org (AMO)
- Addons.thunderbird.net (ATN)
Clone the repository:
git clone --recurse-submodules https://github.com/tdulcet/GIMPS-Opener.git
Follow these instructions to install it in Firefox
- Rename the thunderbirdmanifest.json file to
manifest.json
- Follow these instructions to install it in Thunderbird
- Download the webextension-polyfill (specifically download the
browser-polyfill.js
file from here) - Rename the chromemanifest.json file to
manifest.json
- Follow these instructions to install it in Chromium/Chrome
Pull requests welcome! Ideas for contributions:
- Convert to Manifest V3 (MV3)
- Refactor into more modules
- Support more than one top level context menu item (see bug 1294429)
- Support changing the omnibox keyword (see bug 1375453)
- Improve the performance
- Use WebAssembly to check if the numbers are prime
- Use faster algorithms
- Support opening exponent numbers on mersenne.org greater than 999,999,937
- Support opening exponents for Fermat numbers
- Sync settings in Thunderbird (see bug 446444)
- Support Firefox for Android (see bug 1595822 and bug 1427501)
- Localize the add-on
Thanks to Viliam Furík for creating the GIMPS logo.