why is my website resizing browser windows - browser

I have had a report that my company's website is resizing at least one employee's browser windows. I experienced this behavior myself on the user's computer, and it was mystifying because the resizing only occurred on our site, not on any other site, and it occurred on both Firefox and Internet Explorer. The user has a Windows 7 machine running updated software. She has no add-ons, themes, or plugins besides the usual (Flash etc.) and her settings are the factory defaults. I cleared the browser cache on both browsers and restarted the computer and it still occurred. The only thing left is the css, but none of it seems suspicious to me.
What is happening is, when she clicks a button or internal link on the site, then when the new page finishes loading, the browser window resizes to approximately 80% of the width of the content. That is, the very last thing the page does as it loads is to resize itself. If she zooms in or out, then on the next load, it again resizes to 80% or so of the smaller or larger size of the content. If she maximizes and then loads a page, then the window resizes to 80% but somehow maintains the "maximized" icon. (You then have to click twice on the "maximized" icon to maximize.)
The reason I am flummoxed is that I thought this kind of behavior was something you could only do with JavaScript, but I deliberately tested this with pages that had no JavaScript at all and it still occurred. There is exactly one page on the website that has browser-resizing JavaScript on it, but it resizes to a pixel size, not a percentage, and it's part of a web service that wasn't in use while I was testing.
What kinds of things should I investigate to solve this issue? Because this is an employee, I have to either fix the website or fix her computer, so ideas for investigating both would be great.

The problem turned out to be that single page with browser-resizing JavaScript I mentioned. Another set of pages had needed some JavaScript functions from that web service, so one person had copy-and-pasted the functions that were needed. Then someone else came along, noticed that the copy-pasting was a dumb idea, and decided to simply include the JavaScript file that had those functions instead.
The problem was, the command to resize the window was bare in that file. For that one user, that command was being carried out and resizing every window. For everyone else, their browsers were ignoring the resize command except on the web-service popup window. I can only assume she had the problem because she had factory-standard settings, and the rest of us didn't. To fix the problem, I moved the resize command from the JavaScript file to the head of the web service page.

Related

What is causing website to load inconsistently in Safari?

I am working on some website edits for a client and am running into an issue where the website no longer loads consistently in Safari. It will sometimes load if refreshed enough times but generally it just shows a white screen.
I have only made a couple of small changes to the site in their host Web.com's website builder (editing the navigation and removing a few buttons from pages), so I'm super confused on what would have caused this to happen. The website can be viewed here: https://www.larrypratt.com/
Has anyone encountered this sort of thing before? Thanks.

How does StackExchange deliver changes to pages if background sync if off?

I happen to keep background sync on my browser off yet, the changes that occur to a page on StackOverflow appear on the page on the top like it usually used to, you know the "An edit has been made to this post" banner at the top.
(Edited) That made me wonder about two things:-
How does StackExchange sends the information to the end-user about changes that occur on a page even with background sync off?
What really happens when I turn off the background sync in my web browser? Does it completely block any requests made to the server or something else is the matter?
Note: My browser is Google Chrome version 74.0 on a 32-bit Windows 7.

How is the panel displayed when launching Chrome Hangout extension made to be always on top and pinned?

When launching the Chrome Extension Google-Hangouts, a panel initially appears that lists members and a link/button to create a new Hangout.
This panel is initially pinned to the bottom right of the browser window. When pinned like this, it remains always on top as a browser navigation session continues: users can go to different URLs, change tabs, etc. and that panel stays at the bottom right and stays on top of all other windows (or at least on top of the main browser window).
Once it's unpinned, you can drag it around the window, but it no longer stays always on top.
My question is, how was that achieved - what code, or what functions, do i need to call to create that window/panel so that it stays initially pinned and always on top? Is there some binding to some native code that's involved? Some other approach?
If anyone know and can show or explain, i would be hugely grateful as this feature is key to an extension i'm trying to build.
Thanks a lot!
This may not be an answer but to get a clue of what is happening I extracted the crx file to view its content there are a few OS specific files : ace.dll , libace.so and ace. After researching a bit i found this. This is a plugin. Hangouts extension is using ace plugin which is actually running on your desktop(i'm not sure about this). You can check this article
I found this related post: How to build an chrome extension like Google Hangouts
ACE is actually not what makes the window, Chrome has that capability built in, apparently. Even if you don't enable panels, extensions from Google can still make them, provided your OS is capable.

Turning on Glimpse causes browser to keep reloading

I am trying to manually add glimpse to an existing WebForms site.
I added Glimpse.Core.dll to the bin directory and edited my web.config as described here.
When I go to http://localhost/Glimpse.axd, I see the Glimpse config page and everything seems OK. When I click "Turn Glimpse On", a banner is added to the top of the page telling me that "Glimpse is now ON". Everything looks great so far.
When I go back to my site, the page loads, the glimpse icon pops up in the lower right corner, and then the page refreshes. Then the process starts over again. If I go back and turn off glimpse, the refresh loop stops.
I've looked at the refresh loop using fiddler, but nothing looks out of place. I've tried to use Firebug or the Chrome developer tools to see what's going on, but the page refreshes to fast for me to see anything.
I'm using glimpse 0.86 and .NET 4.0 on IIS 7 .5 (Windows 7).
Any clues?
Try making sure that you have properly closed any script tags or other markup on your page.
The only time I've seen reports of this behavior was when a page's markup was malformed, and the inclusion of a new/unexpected script caused the page's own javascript to execute.
The Glimpse client, to the best of my knowledge, does not actually have redirect code in it.

How to remove IE toolbar and menu bar

We have a asp.net web application which will be used in an intranet environment on IE 6. We want to change the default configuration of the browser so that it's always rendered without the Tool Bars, Menu Bars and Address Bar, just the browser window frame and the status bar should be present.
We were looking at the IEAK toolkit for IE6 but it doesn't seem to have the option of turning all this off though you can turn off certain menus and toolbar options.
Any ideas of how this can be done, is there a group policy setting or something that we can utilize here to get this done?
Thanks for your help.
You have to handle the showing of toolbars, address bar,... before the page is loaded, because it's built client side.
So to solve your problem, I think you should write the first page (Enter page for example) Then when use click on the Enter link you open another page using VBScript or Javascript to remove toolbars, address bar,...
Hope this helps ^^
Have you investigated Kiosk Mode?
Also, you're deploying IE6 at the wrong end of its lifecycle.
It also sounds like your requirement is for an app you're developing; mandating that the browser is configured this way for all sites might make the customers unhappy. If you want to know how to open a browser window without those things for your site, from your site, I'd suggest a repost to StackOverflow.

Resources