Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

Create a bookmarklet to use Bootlint on any website #78

@rtpHarry

Description

@rtpHarry

Is there a reason why you're making us download and install the js file into our pages then manually reference it? It seems like this is a great fit for a bookmarklet and it only took me a few minutes to set this up:

javascript:(function(){document.body.appendChild(document.createElement('script')).src='https://rawgithub.com/twbs/bootlint/master/dist/browser/bootlint.js';})();

If anybody isn't clear what I'm referring to then I have written a quick article for the general public to use this technique which can be viewed here:

Note: That cdn I have used isn't an official Github site, its a mirror of the raw.githubusercontent.com as that site serves with a txt mime type and you can't use that in a bookmarklet. I can already see that an issue (#43) has been opened to put Bootlint on a more reputable CDN (not saying rawgithub.com isn't but I'm not vouching for it as its the first time I've used it).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions