This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This example will return both the URL and title for the frontmost tab of the active browser, separated by a newline. | |
# Keep in mind that by using `using terms from`, we’re basically requiring that referenced browser to be available on the system | |
# (i.e., to use this on "Google Chrome Canary" or "Chromium", "Google Chrome" needs to be installed). | |
# This is required to be able to use a variable in `tell application`. If it is undesirable, the accompanying example should be used instead. | |
tell application "System Events" to set frontApp to name of first process whose frontmost is true | |
set currentTabUrl to "" | |
set currentTabTitle to "" | |
if (frontApp is "Safari") or (frontApp is "Webkit") then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** photon-like Menu Colors (14 Jan 2022) ***/ | |
/* Bookmarks Toolbar folders * | |
#PersonalToolbar menupopup, | |
/* Right-click context menus * | |
#mainPopupSet menupopup, | |
/* Top menu bar on Windows (not sure about others) * | |
#toolbar-menubar menupopup, | |
/* Sidebar/Library bookmark/history context menus * | |
#placesContext, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url(uc-globals.css); | |
/*@import url(uc-variables.css);*/ | |
@import url(uc-panels.css); | |
@import url(uc-app-menu.css); | |
@import url(uc-findbar.css); | |
@import url(uc-ctrl-tab.css); | |
@import url(uc-bookmarks.css); | |
@import url(resources/in-content/library.css); | |
@import url(resources/in-content/downloads.css); | |
@import url(uc-popups.css); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set mJson to do shell script "curl -s 'https://api.coinmarketcap.com/v1/ticker/nuls/'" | |
set AppleScript's text item delimiters to {","} | |
set keyValueList to (every text item in mJson) as list | |
set AppleScript's text item delimiters to "" | |
set theKeyValuePair to item 5 of keyValueList | |
set AppleScript's text item delimiters to {": "} | |
set theKeyValueBufferList to (every text item in theKeyValuePair) as list | |
set AppleScript's text item delimiters to "" | |
set usdPrice to item 2 of theKeyValueBufferList |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
display dialog "Name of the browser?" default answer "Safari" | |
set inp to text returned of result | |
tell application "System Events" | |
if inp is "Google Chrome" then | |
tell application "Google Chrome" to return URL of active tab of front window | |
else if inp is "Safari" then | |
tell application "Safari" to return URL of front document | |
else if inp is "Firefox" then | |
tell application "Firefox" to activate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- AppleScript -- | |
-- This example is meant as a simple starting point to show how to get the information in the simplest available way. | |
-- Keep in mind that when asking for a `return` after another, only the first one will be output. | |
-- This method is as good as its JXA counterpart. | |
-- Webkit variants include "Safari", "Webkit", "Orion". | |
-- Specific editions are valid, including "Safari Technology Preview". | |
-- "Safari" Example: | |
tell application "Safari" to return name of front document |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* | |
Export All Safari Tabs in All Open Windows to a Markdown File | |
July 13, 2015 | |
// SCRIPT PAGE | |
http://hegde.me/urlsafari | |
// ORIGINAL SCRIPT ON WHICH THIS SCRIPT IS BUILT | |
http://veritrope.com/code/export-all-safari-tabs-to-a-text-file |
I've recently tested on how to move the custom domain catch all email from G Suite to the new iCloud+ Catch All feature and wanted to share my experience.
The end result is having Custom Domain email and Catch All routing, that can be fully used via Gmail, including receiving and sending emails.
- Setup your Custom Domain (or subdomain) with iCloud+
NewerOlder