Opening Local HTML File: Chrome treats space as new tab? - google-chrome

When opening a local HTML file to see how it is rendering, Chrome is opening new tabs for every space in my file path, as shown:
New tab for every space in file path
Correct File Path
This seems to be a recent issue, and the pages are opening correctly in Microsoft Edge, replacing the spaces with %20 encoding and loading. Does anybody know a setting in Chrome that can fix encoding issue?

Had the same problem. Turns out this is due to an update that was installed on Chrome recently that requires an application relaunch to be fully functional. Closing all your chrome windows and reopening should fix the issue.

Related

In VS code, whenever I save a file in Html its being saved as Brave Html document when I actually want it to save as Chrome Html doc. How to do it?

Earlier I used to have Brave as my default browser and installed vs code using Brave browser. I then uninstalled vs code and reinstalled it from chrome browser. Still I'm getting the same problem.
Right click then click open with and choose more apps and select chrome then select always open with chrome and tada.

Edge Chromium xlsm issue

On a web application we manage, there is an issue only present in Edge Chromium. There is a button to download a file: an Excel macro file. When clicking the button in Edge, the file is opened in Excel. However, the login page of the webapplication appears in the XLSM file in Excel, instead of opening the xlsm file itself. In Google Chrome, the file is not opened, but downloaded first and when clicking open, we get the wanted behaviour.
This is the code behind the button (confidential data replaced by XXX):
<input type="submit" onclick="redirectToNavUrlGA('https://XXX.xlsm','XXX','XXX','XXXXXX'); return false;" value="XXXXXX">
When calling the URL directly in a cache cleared-Edge browser, the login page appears in browser and the file is downloaded correctly. Only when you are already logged in the to application, the issue is present. But users will always be logged in already, so not a good workaround.
The URL is using reverse proxy to point to a Sharepoint 2010 site to download the file. I've read some issues with Edge Chromium and SP 2010, is this maybe the cause of the issue?
Do you have any other ideas that could be causing this issue?
Thanks in advance.
According to your description, I think the main problem is the compatibility issue between SharePoint 2010 and Edge. The Edge browser is not included in SharePoint 2010 browser support, and even Edge IE 11 mode is not supported. So I suggest that you can use a supported browser.

When I open an html file from MacOS Finder, why is chrome only opening a blank window/tab?

I am having trouble getting Chrome to open html files from MacOS Finder. This includes double-clicking or right clicking and selecting open. These actions result in opening or making Chrome the active application, but not opening the html file. Does anyone have any ideas on how to fix this? It didn't start after an update or any detectible change in how I work. It seems totally random.
Here's what I've tried:
opening multiple html files created in different applications (sublime, dreamweaver, atom, etc.)
deleting Chrome preferences
resetting all Chrome settings
running all possible updates
restarting Chrome and computer
Here's what does work:
opening files from within Chrome via File>Open File
opening a new tab or window in Chrome and dragging an html file into it
opening html files in Firefox and Safari by all available methods without encountering the issue I'm experiencing with Chrome.
Thank you!
Recreating the Sublime Text preference file resolved the issue. Admittedly I feel kinda dumb for not doing this in my first round of troubleshooting, but at least I did it now! Hopefully this at least helps some other people out there with the same issue.

chrome, source map not loading

I am generating the bundled.js file using webpack for a typical angular project. Now I deploy this on the web server. The bundle.js file has the following at the end
//# sourceMappingURL=main.bundle.js.map
However Chrome does not seem to detect that there is a sourcemap available. It does not even show the icon saying that a source map is available. How do I fix this? Plus should the path to the sourcemap be http://url/main.bundle.js.map? How does chrome know where to load the sourcemap from?
For chrome, source-map was not loading/working for me too. I kept on seeing the bundle.js files. However, in other browsers it worked, that are chrome related like Brave. So I just went into my chrome browses dev-tools settings > preferences and then in the bottom right, I clicked the "Restore defaults and refresh" button and it worked fine after.
These are the runes you are looking for (chromeDevTools):
Map webpack://./ to /

Chrome Developer Tools CSS lines and stylesheet name not displaying

In Developer Tools in Google Chrome when i inspect an element in a page locally hosted on my pc , in the styles window the stylesheet:line-number is not showing. Example style.css:127 ...
What's the problem?
Thanks :)
I just discovered this problem as well. The folder name on the local server contained a space. When I renamed the folder (used a hyphen instead of the space) the stylesheet filename and line numbers came up Developer Tools again.