Deprecated: Return type of I::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 62

Deprecated: Return type of I::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 91

Deprecated: Return type of I::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 71

Deprecated: Return type of I::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 101

Deprecated: Return type of I::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 53

Deprecated: Return type of Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/collection.php on line 80

Deprecated: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /home/public/kirby/toolkit/lib/url.php on line 135
One Tap Less | Search in 1Password from Safari

Search in 1Password from Safari

Hey you. Just a quick fix for your weekend. This is a bookmarklet to search for login information from the page you’re visiting in Safari on 1Password. So if you don’t want to use the 1Password built-in browser, this is a decent alternative.

javascript:window.location=‘onepassword://search/'+encodeURIComponent(location.host)

Notice how we use location.host instead of location.href, meaning that if you use the bookmarklet on this page, which the full URL is https://onetapless.com/search-1password-from-safari, it’ll only search for http://philgr.com. Handy, right?

If you forgot how to add a bookmarklet, bookmark a page, save, check your bookmarks, edit the one you just added and replace its url with the script above. It almost fits a tweet.