Open website alias in non-default browser

I have Firefox set as my default browser. I want to set up an alias on my machine to go to a website, but so it will open in Chrome for just that alias. Can you do that on Macs?

You need to use an AppleScript to tell Chrome to open it or drag the file into Chrome. The 'open with' setting is ignored for Internet locations and similar files, and properly shouldn't even be there.
(60910)

Similar Messages

  • How to open a URL in the default browser via CC HTML Extension?

    Hi,
    I'm trying to open a link via the default browser in a HTML Extension for Photoshop CC built with Extension Builder 3.
    With the initial example the "/indext.html" it look like this:
    <li><button class="default" id="btn_PHXS" onClick="onClickButton('PHXS')" disabled="true">Run ps code</button></li>
    and I changed the code from "/ext.js" to:
    ...function onClickButton(ppid) {    var csInterface = new CSInterface();    csInterface.openURLInDefaultBrowser('http://www.adobe.com');}...
    This is what the "/lib/CSInterface-4.0.0.js" looks like:
    * Opens a page in the default system browser.
    * @param url   The URL of the page to open. Must use HTTP or HTTPS protocol.
    * @return One of these error codes:\n
    *      <ul>\n
    *          <li>NO_ERROR - 0</li>\n
    *          <li>ERR_UNKNOWN - 1</li>\n
    *          <li>ERR_INVALID_PARAMS - 2</li>\n
    *          <li>ERR_INVALID_URL - 201</li>\n
    *      </ul>\n
    CSInterface.prototype.openURLInDefaultBrowser = function(url)
        return cep.util.openURLInDefaultBrowser(url);
    Since "util" doesn't seem to be defined  I get the message:
    Uncaught TypeError: Cannot call method 'openURLInDefaultBrowser' of undefined
    Is the something missing?
    Thx,
    frankin

    Hi Franklin,
    Apologies for the delay but I have been trying to determine why this API is not been working. I have since discovered that, although this API is documented in the JS library, the behaviour has yet to be implemented into Photoshop CC. Offline I will try to determine why this API was included in the library when it was not ready but for the meantime, if you would like to open a browser, here is a workaround:
    Instead of using:
    //(new CSInterface).openURLInDefaultBrowser("http://www.adobe.com")
    // Use the createProcess API to open a browser. The following shows a workflow in Windows to open Internet Explorer.  
    var csInterface = new CSInterface();
    var rootDir = "/";
    var isWindows = window.navigator.platform.toLowerCase().indexOf("win") > -1;
    if (isWindows) {
                        rootDir = csInterface.getSystemPath(SystemPath.COMMON_FILES).substring(0, 3);
    var processPath = "/usr/bin/open";
      if (isWindows) {
        processPath = rootDir + "Windows/explorer.exe";
    var url = "http://www.adobe.com";
    window.cep.process.createProcess(processPath, url);
    Apologies for this inconvenience but we promise to keep you informed when openURLInDefaultBrowser API is fully supported.
    Kind regards,
    Lea

  • Numerous websites linked to desktop icons won't open with Firefox as my default browser, but will when I subsequently designate Internet Explorer as the default browser. However, when I select IE, I cannot open Firefox. How do I fix this? CharlieA

    When I designate Firefox as my default browser, I cannot open any destop link to any website, except Mozilla. When I change that designation to Internet Explorer, I can open all destop linked websites, except for Firefox. What do I do?

    Sometimes Windows gives you weird error messages when you click a link in another program or double-click a desktop shortcut. These messages usually occur only when Firefox was closed and has to be launched before the link can be loaded. Is that what you're getting? This occurs when Firefox's registry settings get crossed up, as described in this article: [http://kb.mozillazine.org/Windows_error_opening_Internet_shortcut_or_local_HTML_file_-_Firefox Windows error opening Internet shortcut or local HTML file - Firefox - MozillaZine Knowledge Base].
    If that isn't it, what happens exactly?

  • Desktop Shortcut in non-Default browser?

    Good Evening,
       I have Google Chrome set as my default browser in Lion.  To access certain DOD websites I have to use Safari since it can access my PKI smartcard and chrome can't.  I'd like to create a few desktop shortcuts for these websites to open in Safari, not chrome.  I can drag the URL to the desktop and it creates the shortcut.  I right clicked on the icon and changed the "open with" to Safari but when I then double click the icon it still opens in the default browser, Chrome. 
    Any mac geniuses out there who know of a script or something to force those specific desktop shortcuts to open in Safari(not default browser) vs Chrome (default browser)?
    Thank you!

    This isn't working for me for a URL I want to force open in Firefox (Chrome is my default).  Right-click "open with" works.  But, even after changing the "open with" in "get info" to Firefox, it opens in Chrome.
    Changing ".webloc" to ".webbookmark" broke it entirely.  It does open in FF, but as an XML file that outputs this:
    <plist version="1.0"><dict><key>URL</key><string>[URL]</string></dict></plist>
    Any ideas?  Thanks.

  • Link in Adobe AIR JavaScript app is incorrectly opening the app in the default browser

    I have a couple of links in my Adobe AIR JavaScript app that are part of the app's UI, which when clicked are causing the app to be loaded into a new tab in my default browser.
    This is only happening with two links (Save and Cancel on a form), and not all links in my UI.  The two links that are having the issue are defined in an external HTML file that I load a runtime and connect to the DOM.  The links that are defined in the main HTML file that is loaded when the app starts up do not have this problem.
    Here is how I am loading the template and plugging it into the DOM
    var win = document.createElement("div");
    var f = air.File.applicationDirectory.resolvePath("lib/partials/edit_form.html");
    var fs = new air.FileStream();
    fs.open(f, air.FileMode.READ);
    var content = fs.readUTFBytes(fs.bytesAvailable);
    fs.close();
    var template = new Template(content);
    win.innerHTML = template.evaluate(data);
    document.body.insertBefore(win, document.body.firstChild);
    The links themselves are coded like this:
    <a href="#" id="save_button" onclick="return false;"></a>
    <a href="#" id="cancel_button" onclick="return false;"></a>
    I am using the Prototype JS library to observe the 'click' event for each of these links like so:
    $('save_button').observe('click', onSave);
    $('save_button').observe('click', onCancel);
    This app shows content created by users, which can contain links to external web sites.  To get the external links to open in the browser (as opposed to inside my Adobe AIR window), I am doing the following in a script tag in the head of my main HTML file:
    window.htmlLoader.navigateInSystemBrowser = true
    I've found that if I set window.htmlLoader.navigateInSystemBrowser = false, then the issue with the Save and Cancel links described above goes away.  However, I need to have window.htmlLoader.navigateInSystemBrowser = true so that external links in the user content open up in the browser, not in Adobe AIR.
    Another piece of evidence is that the Save and Cancel links only incorrectly open a browser the first time you click on them after launching the app.  Subsequent clicks work fine and do not have the issue.
    Any ideas on why the links that are plugged into the DOM after app start up have this issue, and only the first time you click on them?

    Not sure where this comes from, but I suspect it has something to do with the security restrictions that AIR has in place, related to dynamic JS evaluation after the document is loaded.
    Make sure you read http://help.adobe.com/en_US/air/html/dev/WS5b3ccc516d4fbf351e63e3d118666ade46-7f0e.html#WS 5b3ccc516d4fbf351e63e3d118666ade46-7ef8
    For example, I've spotted the two onclick="return false;" you have in your code. The evaluation of the onclick attribute after the page loaded event would fail in AIR.

  • Flash Installer opens Internet Explorer instead of default browser

    Every time I have installed Flash or installed an update, the installer concludes by opening my Internet browser to display its "Thank you and enjoy Adobe Flash Player. Here is another product that might interest you..." advert. The trouble is that it always opens it in Internet Explorer rather than my default browser. I never, ever use Internet Explorer since I consider it a major security risk and indeed the only time I ever see it is when I update Flash....
    I've always wondered why the Flash Installer does this - every other program that opens a browser manages to open the default one, so how come Adobe's coders can't seem to manage it?

    It typically opens the default browser regardless of which browser you're actually using.  I'm wondering if there's a funky registry key or something that confuses things for your system.
    Either way, we usually launch the default system browse, which is not necessarily the browser you started the installation with.  This is a long-standing bad experience, and something that I complain to the team that makes the installer about on a regular basis.  Everyone involved recognizes that the behavior is less than ideal, but it's a fundamental design problem and it's not something that can be addressed with a simple fix.  It *is* very much on the radar as something that we want changed, and I'm pretty sure that it will get resolved in the installer over the long-term.
    In the meantime, if you would like to avoid the Flash Player upgrade process entirely, Google Chrome includes Flash Player as a built-in component.  There's nothing separate to download from Adobe, and all the updates are made available directly through Chrome's update mechanism.

  • E-mail links won't open when Firefox is my default browser, Sup??

    When Firefox is my default browser, links in my e-mail or web sites that open in my e-mail, do not open. Right clicking on the link doesn't do anything for me. When I click on the link the border of the page dims and brightens but no access to the linked page and no error messages. This requires me to use IE as my default browser, that opens links fine, which my whole psychic/genetic makeup abhors. It seems that no one knows what is wrong or how to fix the problem. I tried the chat room but was never able to get through and now it is removed. Is there ANY way to get an answer/solution to this problem?
    PS My XP desktop computer Firefox works fine.

    I still have this problem and now it is starting to affect the browsers functionality and useability. When Firefox is my default browser any link outside of Firefox won't open which is becoming a nuisance. I am running Windows 7 which may be the cause of the problem via a setting but I can't locate the needle in the haystack or it may have happened at a Firefox update. Firefox has been my favorite and only browser since Netscape 1.0 but if I can't resolve this problem I will have to switch to another which I really don't want to do. Help!!!

  • Open XML file with user default browser and not the default editor.

    Hi,
    I'm writing a java program that appends numerous XML files together. The result is a NEW well formed XML document. Since i have an XSLT that performs several UI modifications on this xml file, the file extension must remain '.xml'. I need to open this xml file with the users default web browser. The problem is that:
    Runtime.getRuntime().exec(cmd);
    ....opens the xml file with the users default program for opening xml files which in my case is Oxygen. I want to force java to open this xml file with the users default web browser and nothing else.
    I guess i need the Windows command to perform the 'open with' feature but i have no idea what that command is or how to find it.
    Any ideas?
    Thanks,
    Varun Singh
    Edited by: Jagara00 on Jul 2, 2009 3:49 PM

    sabre150 wrote:
    Jagara00 wrote:
    Your right, but my question relates to the java issue and not the XSLT aspect of the problem. I am looking for a java solution for reasons i will no go into here. You have lost me.Me too.
    People do not often ask questions (or make challenges or observations) idly for the sake of 'theory'. It is most useful to explain to the best of your ability.
    As to
    "Since the Desktop class was only released with SE 6 I am forced to find another alternative. "
    There is an 'alternative'. You can import it into a 1.5 project. It was available as a free standing API before 1.6 - through JDIC. See [https://jdic.dev.java.net/documentation/Examples.html|https://jdic.dev.java.net/documentation/Examples.html] for more info.
    Edit 1:
    To a later reply
    "Do u .."
    ..want to spell incorrectly when you get frustrated?
    "..do not wish to.."
    ..get any help? That is the way you are heading.
    Edited by: AndrewThompson64 on Jul 3, 2009 9:27 AM

  • With Firefox as my default browser, links in E-mails or E-mail web pages will not open. When IE is default browser, links open fine, SUP???

    I have Windows 7. This problem happened all of a sudden, possibly after a Firefox update??

    '''Try the Firefox Safe Mode''' to see how it works there. The Safe Mode is a troubleshooting mode, which disables most add-ons.''
    ''(If you're not using it, switch to the Default theme.)''
    * You can open the Firefox 4.0+ Safe Mode by holding the '''Shift''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Don't select anything right now, just use "Continue in Safe Mode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shift key) to open it again.''
    '''''If it is good in the Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one.
    Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''

  • When I click links in emails, it will not open the link in my default browser (Firefox)

    Have worked through all of the suggestions here and still not working : https://support.mozilla.org/en-US/kb/hyperlinks-in-messages-not-working?esab=a&as=aaq
    Any ideas?
    Thanks

    hi, i did what matt suggested and started my mac in safe mode....the links worked well in safe mode....when i checked them after booting up normally, the links worked for a time, not long, and now they no longer work
    what is happening with me, when i click on a link in tb, firefox will open to the proper link, however, if firefox is already open the link will just bring up the firefox browser and not the link....i have to close firefox and then click on the link and firefox will then open to the proper window......
    any help would be appreciated
    this seemed to happen right after i installed the OS bash update.

  • Call someone help em make my program open a webpage in the default browser?

    Sorry, new to java, new to forums, this is my section of code, i imported the proper package, ty
    try {
    Desktop.getDesktop().browse(http://www.google.com);
    } catch (Exception e) {
    e.printStackTrace(); //shows the error
    System.out.println ("ERROR");
    }

    SOLUTION
              if( java.awt.Desktop.isDesktopSupported() )
                   java.awt.Desktop desktop = java.awt.Desktop.getDesktop();
                   if( desktop.isSupported( java.awt.Desktop.Action.BROWSE ) )
                   try
                   java.net.URI uri = new java.net.URI( "http://youtube.com/watch?v=OiS0ULLdTQo" );
              desktop.browse( uri );
              catch( Exception ex )
                   ex.printStackTrace();
                   System.out.println ("ERROR OPENING URL");
              }

  • If I click on a link in an e-mail in Thunderbird it opens in IE instead of Firefox, Firefox is my default browser. How do I fix this?

    Even when I clicked on 'help' in Thunderbird it opened in IE. All of the help articles I've read tell me to make Firefox the default browser but it already is.

    it seems possible that there was some corruption in your system (registry) and once you uninstalled Internet Explorer, your system didn't have any choice but to insist on opening web pages in the default browser (in your case, FireFox)
    There are numerous ways to 'screw up' defaults - both as DEFAULT PROGRAMS, and as ASSOCIATED FILE TYPES (Control Panel)
    If messing with the control panel doesn't work, another idea is to: SET INTERNET EXPLORER as Default, check to see that it works as expected, reboot your machine, SET FIREFOX as Default; reboot.
    Win8 [ Control Panel \ All Control Panel Items \ Default Programs ]
    Uninstalling may not be an ideal fix for those who use Internet Explorer occasionally --- as i do for "Print Selected" : I.E. allows you to "Print Selection" of text/images on a web page, and then VIEW (Print Preview) the selection and adjust the margins and 'Scale' so as to fit your selection in the correct SIZE and the correct NUMBER of pages. None of the plugins/extensions for FF seem to do this properly (in my experience).
    Nonetheless (if you need Internet Explorer), it may be possible for users to do as "NIGH" has pointed out (uninstall Internet Explorer), reboot, and then immediately reinstall it. This may 'FIX' the OPEN IN [default] BROWSER issue (you might still have to go in and select FF as default), but you might have to accept other complications with the use of Internet Explorer - i.e. the different preferences that I.E. uses (that you had set before uninstalling) may have to be 're-selected' or 're-implemented'.
    as always, 'your mileage may vary'

  • I need to know how to change default browser for my desktop icloud apps to open with.

    I like to use the desktop icloud apps, but when i use them, they open with IE when my default browser I like to use is Chrome. Is there a way to make it open with Chrome when I open Calendar or iCloud from my desktop instead of IE?
    thankyou for your help in advance!

    Ed...maybe a little less time gaming and a bit more time in English class? They got this thing called punctuation and sentences now. Last things first; there is no amount of money that can change your GPU so you can scratch that expense off the list. So you need a battery and a fan? Where do you live? USA? We can help you find a battery but where did you plan to have the new fan put in? 

  • Frequently visited website no longer recognizes Firefox browser. Happened same day as upgrade from 18 to 19.

    Message from frequently visited website: https://www.mybenefitscalwin.org/
    Tells me the website is encrypted; managed by HP; HP history shows I've visited this website 126 times; all appears good, but I get the following message after opening their website, on their screen!
    Browser Not Supported
    The Web Browser you are using is not supported by MyBenefits CalWIN. Below is a list of supported browsers.
    Microsoft Internet Explorer (versions 8 and above)
    Firefox versions 10 and above
    I got this after upgrade from Firefox 18 to 19. Is that the reason?

    Madperson,
    This worked beautifully. Sorry for the delay in replying.
    https://support.mozilla.org/en-US/kb/websites-say-firefox-outdated-or-incompatible#w_workaround-for-broken-websites
    I changed the default browser from 19.0 to 18.0 on 2/21. Firefox just updated a few minutes ago (3/9) back to 19.0. The default browser remained at 18.0 after the update, and the website in question is still accessible. So looks like all is well.
    Thank you very much!!!

  • Why can't FF successfully set itself as my default browser?

    Firefox 3.6.10 is unable to successfully set itself as my default browser.
    I'm running Win7/64 Enterprise SP1
    FF is set to check itself on startup, and each time reports that it is not the default browser, do I wish to set it so? I say "yes", but am asked next time anyway.
    If I then shut FF down immediately, then restart it, I am asked again.
    FF has an option to "check now" whether it is the default, under the Tools->Options->General tab.
    Clicking "Check Now" brings up that same dialogue.
    I click "Check Now", am told FF is not the default, do I want to set it so? I answer "Yes", the dialogue is dismissed.
    I then click "Check Now" again, and am again told that FF is not my default. (Yes, I am Administrator)
    Under Default Programs, FF is designated to handle FTP, HTTP and HTTPS protocols, and to open .htm and .html filetypes.
    As far as I can tell, FF acts as if it is the default browser. Why is its own check for same always coming up false?
    What does FF '''really''' check, if not the protocols and file associations?
    How can I make this stop?

    I already was administrator and general sysgod of my computer.
    I was provoked into trying related things at random, and here's what I came up with as a workaround:
    If you go into Control Panel->Default Programs -> Set Program Access and Defaults, there are three radio-button options: Microsoft, Non-Microsoft, and Custom.
    (Custom was already selected)
    With the Mozilla Options->Advanced window open, check the "Set as default browser", then click the "Check Now" button. It will report that FF is not your default browser, etc. Ecce quaestio, and all that.
    Back to "Set Program Access", click the "Non-Microsoft" button. Close it.
    Back to FF, and try "Check Now" again. Now it says "FF is already your default browser".
    Now RE-OPEN Control Panel and get back to "Set Program Access and Defaults". It's back to "Custom". But FF is apparently satisfied that it is the default now. Let's see if it stays that way.

Maybe you are looking for

  • Can't view synced photos on iPhone 5S

    The girlfriend recently upgraded her iPhone 4S to the iPhone 5S. The 4S was running ios7 and all photos in events and albums synced from iPhoto could be viewed. Since she backed up her new 5S from her 4S back up she can only view a fraction of the ph

  • Mail: Large address groups

    Is there a way to make a large group of e-mail addresses easily? (i.e. - around 50 e-mail addressses of newsletter subscribers) I don't want to make a card for each address, but need to be able to send bulk e-mail out. (By easily, I am referring to O

  • Pressing play in control center in ios7 does not work

    Has anyone else tried to press play in control center to continue listening to itunes and nothing happens? The volume control works but not play..

  • How to use onChange with edittext?

    Hi, This is how I'd like my script to work: In the first window, the user fills a few edittext-boxes with numbers. Clicking OK, a second window appears, where the previously entered values and results of calculations based on said numbers are display

  • "Required folder could not be found"

    I have an iPod Nano 4th gen. I am trying to sync new music to it and I get the error message "required folder could not be found." I have both uninstalled & reinstalled iTunes as well as restored the iPod, both with no luck. Any advice?