How can I instruc0t or configure bash or the desktop to open a Firefox Browser profile? - try-catch

This problem happens in many ways. Today is the last straw. In my terminal window, when a program wants to open a URL, it starts-up a browser. It used to fire-up chrome instead of Firefox (the default browser). I uninstalled Chrome. (Yes I know, I was in a hurry that night).
So anyway I have two or more Firfox Profiles set-up on my Desktop. I took some 'time' to think about this beforehand.
I've named the profies with numbers:
10_self
10_wrk.remote
10_daughter
10_daughter

Well ... I just figured it out by chance. Firefox has a few configuration pages. One interesting page is:
about:profiles
Firefox opens the default profile when it is passed a URL to load. The name of the profile or short-cut have not effect. Even a profile named "default" is not selected as the default.
The default needs to be set in the about:profiles page.

Related

Tapping the deep link always redirects to the App Store

I implemented Appsflyer OneLink with my cordova(Ionic)application and for android everything works fine.
In iOS, when i run the application directly to the device from Xcode and when i click on a link it opens the application.
But i uploaded the ipa file to Hockeyapp and then downloaded the application and installed and then again i clicked on the link but it redirects to the appstore.
i have added associated domains as well as i doubled checked the team ID as well as other configurations(Universal Links) and they all are according to the documentation.
Any idea about the issue that i am facing here?
If the application does not open as a result of clicking the deep-link in a "Universal Links" scenario, it could be one of the following issues:
When releasing to HockyApp some credentials that are used by the Universal Link are broken - it could be the Bundle ID or the Development Team Prefix.
You can check the credentials available on https://your-defined-subdomain.onelink.me/apple-app-site-associations and compare them to the entitlements set in the HockyApp build.
There is a known "development bug" with Universal Link, which sometimes forces an uninstall of any previous version of the Application, in order for the Universal Link to function properly.
If the issue still persists, you can always open a support ticket with support#appsflyer.com and share more information that could help with debugging this.

DNN 7 Can No Longer Edit Page

One of my DNN 7 sites has lost its ability to edit any of the pages. It now alway displays the Modules, Edit and Pages menu regardless if admin is logged in or not. When I try to edit a page, a window appears and then quickly goes away. There is nothing of use in the event log and I have tried different skins with no luck. I have another DNN website on the same computer and it works fine.
I have found that I am losing permissions to ToggleUserMode after I recompile a custom module that I'm developing has been installed on a test page and then recompiled in debug mode.
I'm wondering if this can be related to the fact that when I install DNN I blank out the default installation option of creating a dotnetnuke application. I leave that option blank and create the installation in the root of my website.
P.S I tried the amended module tag suggested on SO without any luck.
I finally figured this out. I had originally bound www.example.com to my default website but later created a new site for www.example.com. Apparently most of the requests were going to my new site, but the request for authorization for page editing was going to my old site which resulted in the 401 error. I rebooted my computer and disabled my default website and all is well.

Can't exit Salesforce Development Mode

When I have the Development mode enabled for my profile, and I open a custom VisualForce page, the code-editing window/frame appears on the bottom of the screen.
Problem: for 7-8 months now, this window does not disappear when I am done with the custom VF page and go on to strandard pages. It's just sitting there, and displays the code for the original VF page. In addition to that, it's keeping the custom VF's URL up in the address bar of the browser, which interferes with other VF pages which take a use of the URL data.
I have submitted this as an issue to SF Support, who had pounded on it for months, and did not resolve.
Have you experienced this problem before, or know how to fix?
I've had this problem before and found the Development Mode toolbar at the bottom of pages particularly annoying. It doesn't work with some of the Firefox plugins that I use. So, I turned it off.
To edit a page without Development Mode turned on, go to Setup > Develop > Pages (or Apex Classes for controllers).
If you'd rather keep Development Mode on you may want to try updating your browser, or try using a different browser (Internet Explorer, Firefox, Chrome).
You can also use the url parameter
core.apexpages.devmode.url=1
in the address of any VF page to temporarily disable the development Mode toolbar.

Set default browser when debugging WPF?

I'm using VWD Express 2008 to develop a WPF Browser Application. When I start debugging, it launches the XBAP in my default browser, which is Opera. Obviously, XBAPs don't work in Opera, so I have to repeatedly right-click on the document to open in IE.
Is there any way to change the settings for PresentationHost.exe so that it always opens with IE? A registry setting, perhaps?
Setup the external program as Internet explorer path and the command line arguments as your path to xbap file within quotes, like shown below:
A simple and easy way to do this is to associate *.htm or *.html (don't remember exactly, try both) files with IE, and it will work for XBAP.
UPDATE:
Solution described above works for "Start external program option".
For "Start browser with URL" option you actually can set default browser in Visual Studio. I don't find how to set it through Tools -> Options, but you can achieve it by following steps:
In your solution explorer find a file which meant to be viewed in browser (e.g. *.htm, *.svc)
Right click on this item and choose "Browse With..."
In the opened window you'll see a list box with installed browser and one of them will be marked as default.
In the list box Choose "Internet Explorer" and click "Set as Default" (if there is no IE browser in the list just add it).
Set Default browser to IE for WPF:
Project preporties -> Debug tab properties...
Remove "-debug" only, if there in Command line arguments:(under Start Options)
Choose Start external program ( under Start Action) and give the path of "iexplore.exe"
(EX: C:\Program Files\Internet Explorer\iexplore.exe )
XBAP does work in Opera (and I can make a screenshot to prove the point). Consider updating your Opera version and/or .NET (do you have SP1?).
Check out this post on the msdn forums.
The workaround I found works OK, but requires that Firefox be your default browser:
In Firefox, open the menu Tools / Options / Downloads.
Then click on "View & edit actions" and change the action for XBAP applications to the Windows Presentation Host.
Now when I debug, Firefox receives the XBAP, but then it automatically pass it to the presentation host, which runs into IE. A bit cumbersome, because everytime a new tab gets opened in Firefox, but it's OK. It also works with F5, so you can debug.
Alternatively, you can start IE, navigate to the XBAP URL and then manually attach the debugger to the PresentationHost process (not to IE though).

How can I change IE's homepage without opening IE?

Here's an interesting problem. On a recently installed Server 2008 64bit I opened IE and through the Tools -> Options I changed the homepage to iGoogle.com. Clicked okay and then clicked the homepage button. IE crashes.
Now you'd think that I could just remove iGoogle as the homepage but when I open IE it immediately goes to that page and crashes on open.
Obviously I'd prefer to find a solution to why IE is crashing on the iGoogle page but just to get IE running again I need to remove iGoogle as the homepage. Is there anyway to do this without opening IE?
Control Panel -> Internet Options
Looking at the registry, the start page seems to be stored in
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Start Page
You could do it through the control panel, but you could also supply a url as a parameter to iexplore.exe.
start » run » iexplore about:blank
Two ways:
Control Panel->Internet Options
Start->Run... "%windir%\system32\inetcpl.cpl"
Not sure about IE7 on Windows Server 2008, but for IE6 the start page is stored in a registry key "Start Page" in HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main.
The answer is posted, but here's how you can discover the answer without having to ask 1: Set the homepage to something random ie FindMeKeyForURL.com
2: Search the registry for it
3: Extract it out and modify it, now you can deploy the .reg file

Resources