Skip to content

Commit

Permalink
Tweak bookmarklet
Browse files Browse the repository at this point in the history
It’s strictly better to always explicitly use https:// (instead of protocol-relative URLs) for resources that are available over that protocol.
  • Loading branch information
mathiasbynens authored and surunzi committed Jul 17, 2023
1 parent 572917e commit 6d3122c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Browse it on your phone: [https://eruda.liriliri.io/](https://eruda.liriliri.io/
In order to try it for different sites, execute the script below on browser address bar.

```javascript
javascript:(function () { var script = document.createElement('script'); script.src="//cdn.jsdelivr.net/npm/eruda"; document.body.appendChild(script); script.onload = function () { eruda.init() } })();
javascript:(function () { var script = document.createElement('script'); script.src="https://cdn.jsdelivr.net/npm/eruda"; document.body.append(script); script.onload = function () { eruda.init(); } })();
```

## Features
Expand Down Expand Up @@ -138,4 +138,4 @@ If you want to create a plugin yourself, follow the guides [here](./doc/PLUGIN.m

## Contribution

Read [Contributing Guide](.github/CONTRIBUTING.md) for development setup instructions.
Read [Contributing Guide](.github/CONTRIBUTING.md) for development setup instructions.

0 comments on commit 6d3122c

Please sign in to comment.