How do I remove the PWA install button from Google Chrome? - google-chrome

On my desktop PC, I do not wish to see the PWA install button in my Google Chrome address bar, nor see the option to install in the menu. I have no intention of installing or using them and I don't want to have them constantly pushed into my face.
On my Android phone I want the same, but I also want to see a warning if I am about to install a PWA from the Play Store by accident because it wasn't properly revealed to be a PWA.
Is there a hidden setting or flag in my browser that I can turn off? Can I use Tampermonkey? HELP!
(I don't want to go into detail why I want this except to say that one company is trying to force a PWA on me without offering me the option to get my money back because I'm no longer receiving the software or service I paid for. I also have yet to see a PWA that offers something its website doesn't.)

Related

The google translator icon disappears from my address bar when I load my website

I need to be able to translate my web application into another language. I enabled the google translate extension in chrome. When I load my company website with chrome the translate icon appears and I can translate the site. I then loaded my secure web application in chrome and the translate icon disappeared. My knowledge on how the translator works with web pages in minimal at best. Any help would be appreciated as I do not know where to begin. Any links to helpful articles on how the translator does its job would also be appreciated
I also had a problem with the google translate (gt) icon disappearing from the right side of the Chrome address bar. I believe I caused the problem myself as I was trying to come up with a way to use it to switch languages quickly using Keyboard Maestro.
I keep 2 Chrome windows open with 2 different gmail accounts, and the gt icon was only missing from one of the windows. I tried many things and couldn't get the gt icon to come back.
Eventually, I was able to fix the problem based on the procedure described on this page, which suggests going to this address: chrome://settings/languages to make sure the Offer to translate pages that aren't in a language you read option is on in the Languages section, as shown in this image:
In my case, the option was already set to on. So I turned it off, logged out of the account associated with that Chrome window, closed that browser window, and when I opened a fresh browser window for that gmail account the gt icon was back.
I'm using Chrome Version 96.0.4664.93 on a MacAir (M1, 2020) running MacOS 12.0.1

How can i track user's choice in chrome when native app install banner shows using adobe analytics

My mobile website when viewed on chrome, pops up the banner to ask the user if he/she wants to install the native app. Am able to use this by using the manifest.json. Since this pop up behavior is driven by chrome, am unsure how to track this using Adobe Analytics. I can use beforeinstallprompt to get a call back into my application before the app install banner is shown (chrome lets me to listen to this event), but how can I propagate this to adobe dtm for analytics purposes? I want to know how many people saw this banner, how many dismissed it etc..
Thanks
K

Electron steals focus to Windows 10 Touch Keyboard and makes it unusable

I'm trying to run the attached project on Windows 10 Pro (latest version available without Windows Insider Program).
Basically it is a fullscreen browser window that navigate to http://www.google.com.
I configured Windows in Tablet mode, in order to let the touch keyboard popup whenever any text field in the page (in this case the query one) gets focused.
Then, I packaged the application with electron-windows-store in order to let electron work as Windows Store application.
When I start the application and Google home page is loaded I'm not able to use the touch keyboard, because it pops up but immediately disappears, like if electron tries to acquire again focus and causes touch keyboard disposal.
I tried also to disable fullscreen mode and setup frame coordinates in order to be as it was in fullscreen, but no success.
Any suggestion?
TestApp.zip
GitHub Repo
This seems to be related to an open issue on the Electron GitHub repository. You might have to wait for the Electron team to introduce this improvement.
I've managed it. The issue was caused by an old dependency to electron. Once updated it to the latest version I know (1.4.7) it all started working.

Navigating back to the same Google Chrome page in Windows 8 after accessing another program

I started developing Android apps using Eclipse IDE with Windows 7. In the course of developing I would be constantly consulting SO via Google Chrome and navigating back to Eclipse IDE to try out a solution that I found; and then back to SO if the solution didn't work.
Recently, I bought a computer with Windows 8, and each time I navigate back to Eclipse (which is on a taskbar on desktop) I lose the SO page that I was on and can't return to it.When I navigate to Google Chrome I just get a new page.I know it sounds so simple, but how do I navigate back to the page I was on previously? ....(I have the same problem with Gmail)
(I would like to be able to continue working in the way I did with Windows 7; if that is possible.)
I think I found the answer to my dilemma: Whenever I navigated back to desktop, I did so by "grabbing" the current page from the top and "dragging" it down; thereby destroying it. I should rather, have navigated via the pop-up window in the top left corner of the screen, thereby conserving the present page..(elementary, my dear Watson)

Debug Ipad web app on Windows

I've got site that is correctly displayed on desktop version but has few bugs on iPad. What's the simplest way to detect problems if my OS is Windows?
Option 1 - Free, local machine debugging
You may use Safari browser for Windows (download Safari 5.1.7).
Steps
Enabling Develop menu in menu bar (Press 'Alt' key to open menu bar. Then follow to Edit menu > Preferences > Advanced tab. Find this option at the bottom.)
Then, follow through Develop menu > User Agent. Select iPad, iPhone etc.
There are more options in the Develop menu (e.g. Show Web Inspector) to help with your JavaScript etc debugging.
Credits to How to debug iPhone and iPad web applications, using Safari.
Option 2 - Paid, browser-based access to target browser/OS/machine
I've personally used http://www.browserstack.com/ and it lets you test the functionality on a wide combination. However debugging may not be as convenient here as it would be on a local machine.
There may be more companies providing similar services.
Beware of basic online emulators
As mentioned in a comment, be wary of 'emulator' websites. Example: A website I ran into claimed to emulate iPhone, with a picture of iPhone, and inside it was an iframe, being dutifully rendered by the browser I opened that website in (Firefox).
The best way I can think of(depending of your implementation) is to use the firefox plugin
https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/
It allows you to switch to all sort of devices and see how they would appear on another device.
Here http://www.ampercent.com/test-website-design-iphone-ipad-mobile-devices/7075/ is a quick guide on getting you started.
There are also user-agent switchers for other browsers than FF like Chrome. Do a google search and try for yourself which one you like.