Disabling Image Magnifier - google-chrome-extension

I am creating a Chrome extension that works with images. The problem that I have is that when an image is larger than the screen, Chrome automatically resizes the image to fit the screen and it turns the cursor into a "magnifying glass" that zooms the image in/out when the user clicks on the image.
For my application, this behavior actually stands in the way of what I am trying to do, and I am wondering if anyone knows how to disable this image magnifier (such that the user can click on the image without the image changing size on the screen).
I searched the entire stackoverflow for "chrome image magnifier" but there is only one relevant posting
Code to disable magnifier, set wallpaper, and save image in Google Chrome?
which says that the magnifier comes (and can be disabled) in the Chrome ToolBox, which is not even available for download anymore
https://chrome.google.com/webstore/detail/chrome-toolbox-by-google/fjccknnhdnkbanjilpjddjhmkghmachn?hl=en
So I believe this image magnifier is now an inherent part of the Chrome browser, but I would still like to disable it in my extension.
Thanks

Related

security registration code on the website does not appear when I register

I've tried it with chrome browser and also microsoft edge still doesn't show up. Is there another solution so that an image or art clip appears on the website
Thanks
http://delphi-z.ru/index.php?do=register

It make me crazy with Google Play Store rejected due to 'Hi-res icon' issue?

I know the policy for the App icon of Google Play is Transparent PNG or JPEG with 512 px by 512 px.
I'm sure my icons fit Google's policy, you can see PNG and JPG
1: But my App icon is rejected by Google Play many times no matter to submit either PNG or JPG icon, why?
2: I submit the same icon for two different app (one is free, another is pro), one app is passed, another app is rejected due to the 'Hi-res icon' issue, why?
3: Even if I update only the new release, and I don't make any modification on "Main store listing" webpage, sometimes my App is rejected due to the 'Hi-res icon' issue, why?
4: Is Google Play to check 'Hi-res icon' by AI automatically, or check 'Hi-res icon' by a human?
5: Is there an online tool to guarantee to create an app icon that isn't rejected by Google Play?
PNG
JPEG
BTW, I have read many articles.
Google Play Store: You need fix your high-res icon. It is not a valid image
Google play storelisting: You need fix your high-res icon. It is not a valid image
High res icon and image asset studio
Try just saving it in paint but making it smaller. It sounds simple but paint-saved files are compatible with practically everything.
PS yes I know they don't actually save as paint files but as what format you want them too.

Chrome WebRTC Screen Sharing: On stopping screen share, browser window doesn't become active/focused automatically

This is regarding Screen Share on Chrome browser using WebRTC.
An example implementaion of Screen Share on Chrome using WebRTC is: https://talky.io
When the user choses to share a different application(say a text editor), that app's window becomes active(focused) and comes on top of browser, and this is as expected...
The Problem
But after sharing this application, when user clicks on the "Stop sharing" button(present on the floating widget provided by Chrome), the previously shared application window remains on top(focussed). Ideally on stopping screen share, the browser window should be brought back on top, as in focussed.
Is there a way to achieve this using Javascript focus method? Or is this something that Chrome should take care of.

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.

why is my website resizing browser windows

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.

Resources