Skip to content

Instantly share code, notes, and snippets.

View gabriel-r's full-sized avatar
🎯
Focusing

Gabriel R. gabriel-r

🎯
Focusing
View GitHub Profile
@gabriel-r
gabriel-r / editPage.js
Created April 9, 2024 12:29 — forked from pmarquees/editPage.js
Edit page (bookmarklet)
javascript:document.body.contentEditable = 'true'; document.designMode='on'; void 0
@gabriel-r
gabriel-r / Open Safari|Chrome URL in Other Browser.scpt
Last active January 17, 2023 04:09 — forked from sillygwailo/Open in Chrome from Safari.scpt
Open in Chrome from Safari and vice versa
tell application "System Events"
set activeApp to name of first application process whose frontmost is true
if "Safari" is in activeApp then
tell application "Safari"
set theURL to URL of front document
end tell
tell application "Google Chrome"
if (count of (every window where visible is true)) is greater than 0 then
tell front window to make new tab
@gabriel-r
gabriel-r / gist:b636fc76f468ad5118b5e59cebd9df05
Last active August 21, 2019 14:39 — forked from rmondello/gist:b933231b1fcc83a7db0b
Exporting (iCloud) Keychain and Safari credentials to a CSV file

Exporting (iCloud) Keychain and Safari credentials to a CSV file


WORK IN PROGRESS


The Mac OS Keychains is great if you spend your time in the Apple-verse. When you decide to mix it up or move away, you will want to take your password with you. Here's a process and the tools for exporting it's content to a CSV file in the format “example.com,user,pass”. This portable format would be pretty easy to import into Dashlane, LastPass, 1Password or whatever.