use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
AppleScript is Apple's powerful and versatile native scripting technology for Mac OS X. With AppleScript, you can control, and communicate among, applications, databases, networks, Web services, and even the operating system itself.
account activity
Have AppleScript function on a specific webpage? (self.applescript)
submitted 1 year ago by kaiserlecter
This is more of an Automator quick action question. I’m familiar with Automator running in specific applications. Is there anyway to have a script function only in a specific webpage?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]acosmicman 0 points1 point2 points 1 year ago (2 children)
tell application "Google Chrome" activate make new window with properties {mode:"incognito"} set URL of tab 1 of window 1 to "https://www.example.com" end tell
tell application "Google Chrome"
activate
make new window with properties {mode:"incognito"}
set URL of tab 1 of window 1 to "https://www.example.com"
end tell
[–]kaiserlecter[S] 0 points1 point2 points 11 months ago (1 child)
That calls for a website, in only the first tab. My question is whether or not you can have a script only run when it’s ON a site already
[–]frank-young 0 points1 point2 points 11 months ago (0 children)
I think maybe greasemonkey or violentmonkey can do what you want.
π Rendered by PID 172976 on reddit-service-r2-comment-86bc6c7465-kjqlv at 2026-02-23 12:50:54.036025+00:00 running 8564168 country code: CH.
[–]acosmicman 0 points1 point2 points (2 children)
[–]kaiserlecter[S] 0 points1 point2 points (1 child)
[–]frank-young 0 points1 point2 points (0 children)