# Script to select DA as default browser

**URL:** https://discourse.devontechnologies.com/t/script-to-select-da-as-default-browser/2939
**Category:** Automation
**Created:** [July 11, 2006, 10:19am UTC](https://discourse.devontechnologies.com/t/script-to-select-da-as-default-browser/2939 "2006-07-11T10:19:14Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![dekay](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/d/cab0a1/32.png) [@dekay](https://discourse.devontechnologies.com/u/dekay)
#### Post date: [July 11, 2006, 10:19am UTC](https://discourse.devontechnologies.com/t/script-to-select-da-as-default-browser/2939/1 "2006-07-11T10:19:14Z")

</div>

As DA does not yet have form fill and adblock-like ad blocking, is there a way to easily (via script or command line – i.e. via quicksilver) switch between default browsers?

This way one could quickly switch the default browser based on one’s task at hand – without needing to open Safari oder SystemPrefs (with RCDefaultApp)?

---

<div class="post-metadata">

### Author: ![cgrunenberg](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/cgrunenberg/32/7172_2.png) [@cgrunenberg](https://discourse.devontechnologies.com/u/cgrunenberg)
#### Post date: [July 11, 2006, 10:43am UTC](https://discourse.devontechnologies.com/t/script-to-select-da-as-default-browser/2939/2 "2006-07-11T10:43:21Z")

</div>

I’m not sure if that’s what you’re looking for but this script opens the frontmost page of DEVONagent in Safari and might be useful:

```auto

tell application "DEVONagent"
	if exists browser 1 then
		set theURL to URL of browser 1
		tell application "Safari"
			set this_doc to make new document at the beginning of documents
			set the URL of this_doc to theURL
		end tell
	end if
end tell

```

---

<div class="post-metadata">

### Author: ![dekay](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/d/cab0a1/32.png) [@dekay](https://discourse.devontechnologies.com/u/dekay)
#### Post date: [July 11, 2006, 11:14am UTC](https://discourse.devontechnologies.com/t/script-to-select-da-as-default-browser/2939/3 "2006-07-11T11:14:29Z")

</div>

Not really, I was looking for a script to actually set the default browser from DA to Firefox and back.

---

<div class="post-metadata">

### Author: ![b.3](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/b.3/32/67_2.png) [@b.3](https://discourse.devontechnologies.com/u/b.3)
#### Post date: [December 22, 2007, 5:53pm UTC](https://discourse.devontechnologies.com/t/script-to-select-da-as-default-browser/2939/4 "2007-12-22T17:53:19Z")

</div>

1Password adds form and password fill capability to DA very nicely.

[1password.com/](http://1password.com/)

---

<div class="post-metadata">

### Author: ![system](https://devontech-discourse.s3.dualstack.us-east-1.amazonaws.com/uploads/original/2X/4/4e6ff70c96be2eb307a274d890bba8d71ba671b3.png) [@system](https://discourse.devontechnologies.com/u/system)
#### Post date: [January 21, 2022, 10:57am UTC](https://discourse.devontechnologies.com/t/script-to-select-da-as-default-browser/2939/5 "2022-01-21T10:57:33Z")

</div>


