Chrome dev tools site gets stuck in mobile view when exiting emulation mode - sharepoint-2010

When using chrome dev tools to emulate mobile devices, sometimes when toggling emulation from mobile back to desktop the user agent spoofing gets stuck in mobile. I've tried hard cache reset, closing browser completely, restore to default.... but anything I do the site still renders in mobile (even when emulation is turned off).
This happens in Canary, beta, and regular Chrome.
Also a note i've only seen this happen in Sharepoint.
Anyone know how to resolve? Nothing seems to get the dev tools to change user agent back to default when exiting emulation.

Have you tried deleting your chrome settings?
Windows: C:/Users/%username%/AppData/Local/Google/Chrome/User Data
Mac OSX: ~/Library/Application Support/Google/Chrome/
Ubuntu: ~/.config/chromium/
Also make sure you aren't ZOOMED! Gets ya everytime

I ran into this same problem previously when using dev tools in Chrome to look at mobile resolutions that got me permanently stuck in mobile for SharePoint only. I solved it originally with the recommendation above of deleting my Chrome settings folder, however, that meant I had to sign in again, sync my extensions, etc.
After forgetting that this would happen again, I ran into the same issue, but this time I discovered that if you append the following to your SharePoint URL it will reset this back to non-mobile. I verified that it is not temporary as I have closed my browser, reopened, visited SharePoint, and it still loads in desktop mode.
/?mobile=0
So, you would use your site url, e.g. https://siteurl/?mobile=0

Weird, this just started happening to me. It persists in new tabs and new windows. Only fix is to open DevTools and switch to Responsive mode and then pull it way out. As soon as I turn off Responsive / Mobile view, Chrome snaps right back to a mobile view by default (appears to be iPad size).
The solution for me (so far) was to quit Chrome and open it back up.

Related

Saucelabs tests block on browser allow dialog

My web app uses IndexedDB and I'm testing on SauceLabs. Some months back my tests ran but now they block on a browser dialog that says "http://gbserver3.cs.unc.edu/" wants to: store files on this device", with an Allow button.
This is Win7 and Chrome or Firefox. Likely others too.
How can I dismiss or prevent this dialog?
Update: I have discovered that if I don't ask for quota I don't get the popup and my tests succeed. I'd still like to learn how to get rid of that dialog.
we are using Nightwatch.js in our project and we were facing the same issue.
What actually did the trick was using --unlimited-storage switch when launching the browser.
(List of other command line switches for Chromium can be found here)

Cannot view video from publisher using Chrome to iPad with OpenTok

I'm currently trying to set up a connection between my web client and my iOS app, but for some reason my iOS client only sees a black box when using Chrome (version 33). I can see the video just fine if I use Firefox (both in my app and when I put the browsers side-by-side, they can see each other).
This doesn't appear to be a documented known issue with the JavaScript SDK, and I can't see any recent discussion about this on the forums (last post was mine).
The iOS sample can be located here (samples/OpenTokHelloWorld) with the browser page in samples/OpenTokHelloWorld/browser_demo.html
I suggest cd'ing into samples/OpenTokHelloWorld and running python -m SimpleHTTPServer, as it can't be run from a file:/// path.
Here is what my iPad sees:
Chrome:
Firefox:
And Chrome/Firefox (respectively), both publishing video from the same camera
Edit: after testing on other machines, it may be something specific to my environment even though none of my extensions run in Incognito and I don't have any custom plugins installed.
It looks like the OpenTok mobile SDKs with the specific webcam I was using has issues. On Android the video stream will display for a brief moment then segfault, and on iOS there will be no video at all.
I have tested this many times and could not reproduce what you are seeing in your chrome.
Without seeing any console errors or iOS logs the best suggestion is to try clearing your cache, or maybe restarting your computer (longshot)

IE11 Developer Tools Blank Network and Profile Tab

Extensively used IE9 Developer Tools and I just updated to IE11 "11.0.2" and the Developer Tools are garbage.
My Network and Profile Tabs are blank.
Is there a "special" setting that I'm missing in order to enable them, or could there be a specific windows hot fix between the IE11 RTM and 11.0.2 that I may be missing?
I had the same problem (version 11.0.9600.17633) on WIN7
Only on one of 4 accounts. Reinstalling IE11, etc did not help.
With regedit, I renamed HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer
to HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer Old
I logged off, then logged on again and started Internet Explorer. This recreated the key. The network tab and profiler tab are no longer blank. Internet Explorer settings have been lost however. I assume the settings and state of Internet Explorer are the same as just after creating a new account.
The network tab was not working for me on Windows 10 Creators Update (Version 1703 OS Build 150063.540) in IE OR Edge.
After trying the various registry changes mentioned by others without success, I removed Internet Explorer as a Window Feature (Control Panel > Programs and Features > Turn Windows Features on or off).
I rebooted and opened Edge and the network tab was working again.
Then I went back into Programs and Feature and added IE back as in installed feature. I rebooted and now the network tab is working in both IE and Edge.
To make blank Network Panel/Profiler Panel appear again(also pin F12 developer tool not working either), delete the following registry DWORD key:
HKEY_CURRENT_USER\Software\Microsoft\Internet
Explorer\Main\TabProcGrowth
This key could be recreated automatically.
I still have this problem using IE 11.0.9600.18097 on Win 7 [Version 6.1.7601]. I post my solution here in case someone faces the same situation like me, that your company doesn't allow updating IE on your own. My
Possible related issue tracker:
https://connect.microsoft.com/IE/feedback/details/808417/ie-11-win-7-developer-tools-does-not-pin
Here is the solution: install the following patch from Microsoft and restart your computer:
https://www.microsoft.com/en-us/download/details.aspx?id=46507
This helped me for IE 11, Windows 10:
sc config diagnosticshub.standardcollector.service start=demand
(see https://www.systemcamp.com/network-collection-agent-failed-to-start-in-ie-11-or-edge/)
It's definitely worth getting the latest updates.
There shouldn't be any special settings. The only special/different thing about the network and profiler tools are the two tools that weren't rebuilt in IE11 and were just themed. However they should most definitely work just fine. Though there are some timing bugs that can cause the tools to hang and crash :(. But, that doesn't seem to be happening for you.
I'm a bit of a loss as to make recommendations on how to fix the issue as we've not seen the issue before (I work on the F12 tools at Microsoft).
If you try a different user account does the same issue happen? Is it happening on all your machines or just one? Does it happen on all pages or just some? (try both an intranet and internet site.)
I created a new local account, logged into that account and that solved this problem for me. All of the tabs in the developer tools work and I can now dock the developer tools as well which I could never do before.
more info:
Not sure if this is the full answer but this appears to be related to settings on your computer more then IE itself. For whatever reason I could not change visual settings or apply themes or change the desktop wallpaper. I followed all the online setting changes for fixing those things. Basically it can be setting changes in group policies/registry settings that disable this. However I'm pretty sure at one point I had a virus on my computer and that destroyed my settings so there was no real undoing of all the damage that it had done. So creating a new account was my only answer.
I doubt this would fix the issue but just to make sure it is not being caused by an extension have you tried running IE without extensions?
from run: iexplore.exe -extoff
This happened to me and the answer was that my machine (win8.1) wasn't being patched per the group policy since the rest of the company's on win7 and the patches are controlled.
When I forced the update-- there's a link on the windows update dialog box that says "Check online for updates from Microsoft Update". I got a gig a of stuff to dl and installed it and we were fine after that.
NOTHING until then- wiping bits of the registry, uninstall ie11, reinstall, etc, worked.
Change the value data in DWORD "TabProcGrowth" that located in "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" to 1. close and open IE11 .
For me, Network tab stopped working one day and following worked:
Restart Microsoft (R) Diagnostics Hub Standard Collector Service
Just close IE11 and all its tabs and reopen

IE 10 not using AppCache after browser closed

I wrote an application using the HTML5 Cache Manifest and I'm having a problem using it in IE 10.
I used Fiddler to witness the manifest file being downloaded and all resources fetched on the initial load of the application. If I disable my network adapter to force the machine offline, the application continues to work as expected as long as I don't close the browser window.
However, when I close the browser window, then attempt to re-open the page from a favorite, IE 10 tells me "You're not connected to a network". Obviously I know that, I'm trying to use the app offline. These exact steps work in Chrome.
Is this behavior by design? Is there a workaround? I can't test with IE 11 right now...is this different in IE 11?
Hearing of some issues of the appcache clearing if your company utilizes gpo settings and has "empty temporary internet files folder when browser is closed" enabled.
Did you find the answer to this? I have the same problem. I did get a bit further though. I found that if you go to the IE10 File menu option and tick Work Offline then try and access your cached app it loads the page but I still have an issue as it does not appear to be using the javascript file that should also be cached. All works ok on Google Chrome but our clients are restricted to IE so Chrome is not an option.

Safari 5.1 unloading tabs from memory

Well, it seems Safari 5.1 at least on Lion which is what I'm using now decides to unload tabs from memory as it deems it necessary.
The big issue with this is sites that display ajax alerts or ones that have chats as for example GMail. I was having 2 conversations on Google Talk right in the GMail website and while I was on another tab I noticed the title blinking indicating new messages in my conversations, as soon as I clicked the tab Safari decided to completely reload the page, losing all those conversations (I don't keep logs of those).
It goes without saying that this behavior breaks modern web apps and seems unnecessary on a desktop computer. I understand the necessity of this on iOS devices due to ram constrains though.
Is there any way to disable this "feature", I couldn't find a way to do so. It's that or switching to Chrome or Firefox, but I like Safari.
Thanks.
I think I have a temporary work around. Pages on my site — petersonguides.com — periodically reload the tab in Safari 5.1. Ordinarily this wouldn't be a big issue, but I have a video that plays in a FancyZoom box and it can't get all the way through without the tab being refreshed.
I tested with Chrome and it doesn't cause the same tab reload behavior, so I'm sure it's a Safari 5.1 problem.
I have JavaScript and PHP on the home page and I thought there might be a conflict, so I started pulling things off and retesting with the video. The last thing I checked was removing the Google Analytics script. That fixed the problem.
I tried bumping up the Database Storage amount - per the previous answer - but that didn't have any effect.
I am having trouble with Pandora (Flash) not advancing songs in a background tab. As a quick-and-dirty test, I went to Preferences > Advanced > Database storage and popped it up from 5MB to 500MB. Flash is still very unstable, but now songs are advancing in the background. I don't know if this will work for you but you might give it a try.
Safari 5.1 | OS X 10.6.8
The reloading of tabs in the background is a feature of Safari 5.1 on Lion. There is currently no easy way to get around this. The only way possible at the moment involves disabling the multi-process window feature:
Enable Safari's Debug menu by typing in Terminal.app, restarting Safari afterwards:
defaults write com.apple.Safari IncludeInternalDebugMenu 1
From the new Debug menu in Safari, select Use Multi-process Windows to remove the tick before it and deactivate this feature.
While this prevents tab reloading in the background it will disable extensions and gestures in Safari. But it can be easily activated again via the Debug menu.