GithubHelp home page GithubHelp logo

jsnmrs / bookmarklets Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 621 KB

Tools for the browser.

Home Page: https://jsnmrs.github.io/bookmarklets/

License: MIT License

HTML 60.64% CSS 0.34% JavaScript 39.01%
accessibility bookmarklets css favlet wcag

bookmarklets's Introduction

bookmarklets

Tools for the browser.

Install and run locally

  1. git clone https://github.com/jsnmrs/bookmarklets.git && cd bookmarklets
  2. npm ci
  3. npm start

Adding a bookmarklet

  1. Edit data/bookmarklets.json and add a new entry, following the schema used on the rest of the file
  2. Create a new JS file (and optionally a test HTML page) for the new entry
  3. Add code
  4. Run npm start to lint JS, build data file, and generate static site
  5. New entry will be added to the table of bookmarklets in index.html

Related web tools

Content Security Policy (CSP) issues

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.

Chrome

  1. Install the Disable Content-Security-Policy extension from the Chrome Web Store
  2. Select the Disable Content-Security-Policy extension button in the Chrome browser toolbar to disable CSP
  3. Navigate to the test page, launch ANDI
  4. When done testing with ANDI, re-enable CSP

Firefox

  1. In the address bar, enter about:config
  2. Under Preference Name, select security.csp.enable to disable it
  3. Navigate to the test page, launch ANDI
  4. When done testing with ANDI, re-enable the security.csp.enable

bookmarklets's People

Contributors

dependabot[bot] avatar jsnmrs avatar katydecorah avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.