Skip to content

Use from a bookmarklet

Gaël Métais edited this page Feb 26, 2021 · 9 revisions

Bookmarklet

You can create a bookmark with this code:

javascript:(function(){var win=window.open('https://yellowlab.tools?url='+encodeURIComponent(window.location.href)+'&run=1','_blank');win.focus();})()

It will open a new browser tab and directly launch a run on the current webpage url.

URL parameters

When calling the homepage of https://yellowlab.tools with some magical parameters, you can automatically launch a run:

url [URL encoded String]

The URL field is automatically filled with the given URL. Example: https://yellowlab.tools/?url=https:%2F%2Fwww.google.com

run [Boolean]

If the url parameter is given and run is true, than the test is automatically launched. Example: https://yellowlab.tools/?url=https:%2F%2Fwww.google.com&run=1