Cannot change Safari default browser - macos

I'm trying to set Chrome as my default browser on my MacBook Air OS Mojave 10.14.06, and actually I've managed to do it but then this happens which I don't understand why (Chrome as a default browser on Chrome settings and System Preferences but not in "Open with"), and from time to time is causing me interference with other applications when suddenly I try to open a .html file for example, and instead of opening it with Chrome, it goes to Safari and due to the authorized developers permissions, it can't open it.
I tried clicking on "Other" and then choosing Chrome as "Open always with this app" but it still remains on Safari as default.
Also, I already tried with Chrome settings, System preferences (as you can see on the screenshot) and "Get Info", but none did the job.
Does anyone know how to definitively change it to Chrome?
Thanks!

Related

How do I stop a web browser from openning the same website everytime I start it?

Context: I have three web browsers installed on my Windows 10 computer which are Chrome, Firefox, and Opera.
Problem: Whichever browser I newly open, they all start with this website:http://007eecfcfedlkh.jumpkj.chuairan.com/index.html
How it happened: I clicked a link on a website yesterday and it automatically downloaded several applications and automatically installed themselves without showing any instructions to install them.
Thing I have tried: I have reset the browser On startup setting to open my homepage, but it still opens with the aforementioned weird URL.
Thing that may help: Opera browser is very considerate cause it has this option regarding the On startup setting, which is Ask me when Opera is started by a shortcut specifying an URL.
Analysis and need your help: Usually, I start a browser by clicking on the shortcut in Windows start menu, or the shortcut in desktop. This worked normally until the problem appeared. According to Thing that may help, this hostile URL must reside somewhere. Where can I find this unwelcoming shortcut on my computer? How come this shortcut can attach itself to every web browser on my computer? What is the next step I can do to resolve this problem? Is this kind of a virus?
Usually when that happens, you'll have to:
reset the browser settings (or at least reset the startup websites on settings)
go to the browser .exe, open it's properties and remove any flags that were added on the path.
I think you shoud uninstall these applications first.

do classic ASP application launch Firefox as default?

I am currently working with a classic ASP web application. What I'm wondering about is how it knows which browser to launch, I've looked over everything and am unable to find anywhere that it says to Launch Firefox in order to open the application. If i have firefox uninstalled, then it launches Chrome, however, when I hvae both Chrome and Firefox, then Firefox launched even if I have Chrome set as my default browser. Anyone have an idea?
your asp code has no connection whatsoever with what browser is used, it's browser independent. in order for you web app to run, you must open a browser FIRST, then go to the url of your web app, which will then fire off the asp code. It would be a huge security issue if i went to a web site, and it decided to open a different browser on my computer!
if you want to set Chrome as your default browser, follow these instructions:
https://support.google.com/chrome/answer/95417?co=GENIE.Platform%3DDesktop&hl=en
for firefox - https://support.mozilla.org/en-US/kb/how-change-your-default-browser-windows-10
for IE - https://support.microsoft.com/en-us/help/17435/windows-internet-explorer-make-default-browser
Your default browser is a different setting than the "open this file type with this program" setting. If double-clicking an .asp file opens in Firefox, then that's the latter type of setting.
To change it, right-click an .asp file, choose the "Open with >" option, then "Choose default program...".
That all said, 99.999% of users will never have occasion to double-click an .asp file, because most of us don't use web servers as our normal everyday computers.

Which tab is "Google Chrome Helper" running on?

In MacOS in the Activity Monitor Google Chrome extensions show as "Google Chrome Helper". These often take up much of the CPU time. Is it possible to determine which tab a given Google Chrome Helper process is running on?
Other people have suggested setting the plug-ins run mode to "Click to play". It seems that this doesn't cover all instances of the helper, since I already have it set to click to play. As you can see from the image below, there are MANY instances of this helper running. Anyway this doesn't get to the heart of the question- which tab is the process running on.
Chrome's built-in Task Manager (accessible from Menu > More tools > Task manager) will show you a per-tab resource utilization.
If case the culprit is extension code or a plug-in running in a normal tab, you won't be able to identify it with only that; extension entries in the Task Manager are only for background pages of extensions.
You may be able to investigate further with Dev Tools profiler.
I have quite a good experience with this "Google Chrome Helper" and how to debug the notorious problems on Mac.
1. CHROME EXTENSION
In this case go to the 3 dots you find on the right upper side of your browser and then More Tools > Extensions, here you can have an overview of all your extensions.
Deactivate all of them and relaunch Chrome.
If the issue is resolved we can now point out that the issue was related to one of your Extension. But what extension? You can now reactivate one by one while you have your Activity Monitor open and see when the "Google Chrome Helper" is trigged.
2. CHROME EXTENSION OR CHROME SYNC
Sometimes you can find the Chrome extension that is draining your CPU but you have to work and keep that Chrome Extension available. Or maybe that Extension is managed by your Company and you cannot disable it.
In this case you have to click on your Chrome account on your browser and sigh out from all of your Accounts.
Now close your browser, reopen it and "Google Chrome Helper" shouldn't bother you at all. Well, this is normal, because you are not signed in. Now Sign in into Gmail but don't never ever click on the "Turn on sync..." button
Now you can also install the Chrome Extension that was giving you pain and you shouldn't experience any problem. Just don't touch that "Turn on sync..." button.
3. I STILL HAVE PROBLEMS
Well, in this case you are facing something I haven't faced myself. The only suggest you I can give you is to debug the issue by yourself. When the CPU is spiking high open the Activity Monitor and target the "Google Chrome Helper", look at that line and take the PID number (in the picture that you can see in the question is 29048).
Now open a terminal and run:
killall -9 29048
This way you have now killed the process itself. Try to spot what has changed in your Chrome: maybe an Extension has been deactivated, maybe a tab was closed, maybe a webpage has become unresponsive. Dig and you will find the solution.

Show Firefox OS devtools on Firefox Developer Edition 'desktop'

I've an iMac with OS X Yosemite v.10.10.3. I use Firefox Developer Edition 40.0a2. I've a ZTE Open C (FR version) with Firefox OS; Boot2Gecko 2.1.0.0-prerelease (B2G OS).
What I'd like to do is the following: I've a basic webpage (mostyl HTML, CSS and JS) opened in my browser on my Firefox OS phone. I'd like to get the devtools (Cmd+Shift+i) and be able to edit that webpage with my Firefox Developer Edition browser on my iMac.
I've already tried these things:
Use webIDE.
Follow this potential solution.
Connecting a Firefox OS device.
WebIDE Troubleshooting.
Comment déboguer facilement du web y compris sur tablettes et téléphones—french article.
With webIDE, I can build a new app for Firefox OS (with or without a base theme) and I can use the devtools to inspect the DOM and stuff like that. I just want to achieve the exact same thing but directly on my desktop computer.
Do you have any clue?
Feel free to ask me if you need more piece of informations. ;)
Current status
When I launch the Firefox OS browser app, I can inspect (via the devtools) the homepage (DOM stuff, etc.). But when I load another webpage (Google for example), I can't inspect the DOM. Any idea about that?
I often get this message: http://puu.sh/ir2Ju/32563e51bc.png when I switch to several apps I want to debug.
If I understand correctly, you're trying to connect the Firefox Developer Edition WebIDE on your desktop to a tab that is open on your Firefox OS phone. Something like this?
If that's right, once you connect to your phone in the WebIDE, you should see a list of open browser tabs at the bottom of the "Open App" menu, which is in the top left of the WebIDE panel.
When you connect your phone, you have to accept remote debugging.
Then on the left of the window, you should see a dropdown menu with the apps that you can debug. By default, you can only debug unprivileged applications.
Click on the app, the you want to debug and in the middle of the screen click on the "wrench". It is the button to activate debugging.
Now the complicated part. In order to debug privileged apps such as the web Browser. You have to root your phone and change some preferences. To check that you have a rooted phone. Click on the runtime menu and then runtime info.
If your adb is in root mode, then you can press the button to request higher privileges. You can also do that by hand.
There for more info:
https://developer.mozilla.org/fr/docs/Tools/WebIDE/Running_and_debugging_apps#Unrestricted_app_debugging_%28including_certified_apps.2C_main_process.2C_etc.%29
https://developer.mozilla.org/en-US/Firefox_OS/Using_the_App_Manager#Using_the_B2G_desktop_client
Using a real device
On your computer, enter the following command in Terminal/console to enter your device's filesystem via the shell:
adb shell
Your prompt should change to root#android. Next, stop B2G running using the following command:
stop b2g
Navigate to the following directory:
cd /data/b2g/mozilla/*.default/
Here, update the prefs.js file with the following line:
echo 'user_pref("devtools.debugger.forbid-certified-apps", false);' >> prefs.js
After you've finished editing and saving the file, start B2G again using the following command:
start b2g
Exit the android filesystem using the exit command; this will return you to your normal terminal prompt.
Next, reconnect to the App Manager and you should see certified apps appear for debugging.
When this is done, you should see the application "Browser" in the list of available apps for debugging. At the same time, you should see all other application of your phone available as debugging.

SSL3 Poodle issue with chrome on Mac OS

Trying to get all my client side software patched for the Poodle SSL3 issue. I have patched Firefox easy enough but can't for the life of me find any info on how to remove SSL3 from Chrome on Mac OS.
Anyone?
There doesn't seem to be an easy way round this at the moment. For now you can open the AppleScript editor and add the following code:
do shell script "open -a 'Google Chrome' --args --ssl-version-min=tls1"
Then click 'compile' then File > Export, from the Export options, save the file as something like 'Google Chrome Poodle-proof' (it won't work if you give it the same name as the 'real' Chrome app) and choose 'Application' from the File Format drop down list.
You can then change the script's icon to the default Chrome icon, by going to the 'real' Chrome application, right clicking and choosing 'Show package contents' , then opening the file Contents/Resources/app.icns in preview. Copy the icon and then right click your compiled app and choose 'Get Info'. Click on the app's icon in the window that opens, then cmd+v to paste the new icon.
You can now remove the 'real' Chrome application from your dock, and replace it with your AppleScript.
Bit of a hack for now, but it works.

Resources