Tools for the browser.
- Table of bookmarklets
- HTML bookmark file for importing into browsers (in Netscape bookmark format to import in any browser)
git clone https://github.com/jsnmrs/bookmarklets.git && cd bookmarklets
npm ci
npm start
- Edit
data/bookmarklets.json
and add a new entry, following the schema used on the rest of the file - Create a new JS file (and optionally a test HTML page) for the new entry
- Add code
- Run
npm start
to lint JS, build data file, and generate static site - New entry will be added to the table of bookmarklets in
index.html
- Eric Meyer's URL encoder and decoder
- Bookmarklet builder — long-standing, reliable JS to bookmarklet converter
- Bookmarkleter — another JS to bookmarklet converter
via ANDI - Accessibility Testing Tool - Install
If after pressing the ANDI favelet button, ANDI does not launch after a few seconds, it could be due to the page telling the browser to enforce a Content Security Policy directive. To determine if this is the issue, open the browser's Developer Tools (F12) and attempt to launch ANDI. If the Dev Tools console shows an error message that says "Refused to load the script…because it violates the following Content Security Policy directive" then this is the issue.
If the user desires to use ANDI immediately, Content Security Policy (CSP) can be disabled. Note: It is the user's decision to disable CSP and the user's responsibility to re-enable CSP when testing with ANDI has concluded. If users decide not to disable CSP, and ANDI cannot be launched, it is recommended to use other accessibility testing procedures.
- Install the Disable Content-Security-Policy extension from the Chrome Web Store
- Select the Disable Content-Security-Policy extension button in the Chrome browser toolbar to disable CSP
- Navigate to the test page, launch ANDI
- When done testing with ANDI, re-enable CSP
- In the address bar, enter
about:config
- Under Preference Name, select
security.csp.enable
to disable it - Navigate to the test page, launch ANDI
- When done testing with ANDI, re-enable the
security.csp.enable