Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/devidw/bootstrap-docs-redirect

Automatically redirect to the documentation of the latest Bootstrap version whenever you ended up on an outdated documentation page.
https://github.com/devidw/bootstrap-docs-redirect

bootstrap bootstrap-3 bootstrap-4 bootstrap-5 bootstrap3 bootstrap4 bootstrap5 browser-extension chrome-extension chrome-extensions chromium-extension docs redirect redirects webrequest webrequests

Last synced: about 1 month ago
JSON representation

Automatically redirect to the documentation of the latest Bootstrap version whenever you ended up on an outdated documentation page.

Awesome Lists containing this project

README

        

= Latest Bootstrap Documentation Redirect
:author: David Wolf
:email: [email protected]
:icons: font
:bootstrap-version: v5.1

// +++
//


// Bootstrap
//


// +++

NOTE: I have written an article about the motivation of this extension: https://david.wolf.gdn/how-to-always-and-automatically-redirect-to-the-latest-bootstrap-documentation-chromium-extension/[«How to always and automatically redirect to the latest Bootstrap documentation»].

Chromium browser extension to redirect all your request to Bootstrap documentation of versions lower than {bootstrap-version} to the docs of Bootstrap {bootstrap-version}.

For example if you just ended on the documentation pages of Bootstrap v4.0, you will always be redirected to the documentation of Bootstrap {bootstrap-version}.

image::./images/chrome-web-store.png[Chrome Web Store, link='https://chrome.google.com/webstore/detail/latest-bootstrap-document/pbfaompnkhilkpbobkihjfhilpikepdk']

== Permission justifications
=== webRequest justification
`webRequest` is needed to check if the requested URL is requestig an outdated Bootstrap documentation page, to be able to redirect those requests.

=== webRequestBlocking justification
`webRequestBlocking` is needed to make the request synchronous to be able to redirect it.

=== Host permission justification
`*://getbootstrap.com/docs/*`:: Is needed, as this is the documentation host of Bootstrap. Traffic to old documentations will be redirect to new ones.

---

Icon credits to https://icons.getbootstrap.com[Bootstrap Icons].