reset chrome media engagement score - google-chrome

I know that Chrome 66 introduced some restrictions when autoplaying a video (in HTML5).
In some cases the autoplay is supported. One of the conditions to support autoplay is when the user has watched a video in the domain before or something similar. So Chrome is keeping an internal score for each site. This score can be checked in chrome://media-engagement.
But now my problem is that for testing I have not figured it out a simple way to reset this score. So I can not properly test it for the new users.
Any idea?

A quick throwaway solution to have a new window with empty MEI data is to open a "Guest window" by clicking the user avatar and choosing "Open Guest window" button.

The easiest way I found to test using a clean score is to create a new profile in Chrome:
1- At the top right of Chrome, click the button with your name or People People.
2- Click Manage people.
3- Click Add person.
4- Click Save. A new window will open and ask you to sign in.

It is not recommended to manually make changes to your profile folder, but this worked for me.
Go to chrome://version/ and note the Profile Path
Close Chrome
Open the Preferences file in your profile folder with a text editor.
Delete the media_engagement entry.
Go to chrome://media-engagement to verify that everything has been cleared.
Alternatively you can just remove the Preferences file altogether but this removes a bunch of other things as well.

You can also clean MEI by clearing browsing history:
Click Ctrl+Shift+Del or navigate to chrome://settings/clearBrowserData
Go to Advanced > All time
tick Browsing history
Click Clear data
Navigate to chrome://media-engagement to verify
BTW. Note that notably going into incognito mode doesn't reset MEI; the MEI data are copied from regular session when opening first incognito tab (and then lives on its own until incognito session is closed).

Related

How to avoid Chrome's automaticDownload limitations

I have a site that offers users the chance to download files by clicking a button which loads a rest request then uses file-saver to download it.
The second time a user in Chrome clicks this they get a popup blocker. The message is "This site attempted to download multiple files automatically". How does Chrome determine when to show this message? Can I do something to reset it?
The site is loaded as an iframe within microsoft teams. But I don't think that is the issue
Fire up Chrome, click the menu icon, and then click “Settings.” Alternatively, you can type chrome://settings/
Once in the Settings tab, scroll down to the bottom and click “Advanced.”
Scroll down to the Privacy and Security section and click on “Site Settings.”
Scroll down the list of settings until you see the “Automatic Downloads” option. Click on it.
By default, the feature is set to ask permission when a site tries to download files in succession. This is the recommended behavior, but if you want to block all sites from downloading multiple files automatically, toggle the switch to the Off position.

When I open new tab I read "chrome://new tab"

Tomorrow when I open new tab I read "chrome://new tab". What is that? is dangerous? How can I remove this?
Anything that starts with "chrome://" comes from the browser itself rather than another website. So don't worry about it it shouldn't bother you at all.
The url "chrome://newtab" means a new tab opened by chrome itself.
It is secure and configurable which can be modified in Settings -> On startup.

Google chrome lock in fullscreen

I have a web application (directory slides) program which is preferable to run in fullscreen on google chrome. Now the problem is i would like to limit the user access to the browsers functionality so when the browser is in fullscreen i would like to lock it.
Is there any way to do these?
This is generally referred to as "Kiosk mode," and Chrome does appear to support it. From https://lifehacker.com/use-chromes-kiosk-mode-to-limit-someones-access-to-yo-1243433249:
Open up Chrome's settings.
Under "Users" click "Add new user."
Give the new profile a name and picture. Make sure "Create a desktop shortcut for this user" is checked. Click "Create."
Right-click the newly-created shortcut and select "Properties."
In the "Target" field, add "--kiosk" (no quotes) to the end.
Click "Apply."

How to get warning massage when clicking close(X) button of browser with tabs in Google Chrome

How to get a warning massage if i accidently click the close button of the chrome browser which have multiple tabs opened at that time?
I am a regular user of Crome and having this problem while using it. I normally open multiple tabs inside a single browser but sometimes i accidently click the close button of browser and as soon as the button is clicked crome does't give any warning issue about multiple active tabs and close the entire window.
Is the end user like me is browsing on normal crome window then he can open the websites again by checking the web history but if he is browsing inside private browser then he can't do anything(this happens with me very regularly because i normally browse in private browser). On the other hand if you accidently click the close button in mozilla which have multiple tabs open it throws a warning massage to the user and asks for his wish.
Go find an extension called "Keep One Pinned Tab". It may not be exactly the function you need, but if you search for other extensions, I am sure there is such an extension that does just that. If you can't find one, I suggest to learn how to develop extensions and make one yourself, you can share it with others when it's done.

AS3 Microphone Privacy Settings Only Shows 3 Tabs

So i've been banging my head against the wall trying to figure this out, and it's about time I ask for help. I have a flash audio recorder that is displaying a popup to the user asking them to allow microphone access using:
AS3 --
Security.showSettings(SecurityPanel.PRIVACY);
Now, on chrome it works perfect! Everything shows up correctly and looks like this:
http://postimage.org/image/6e6ldfmpj/
Great. Now the issue is, on Firefox (and I believe IE9) it looks like:
http://postimage.org/image/mqp1kmcjj/
Notice how there are only 3 tabs in the second one (Firefox). Well, the second tab over is Privacy and allows you to "allow" or "deny" our website from accessing your mic. So it's a bit of an issue that that tab is not even visible... Any thoughts on that? I can't seem to find anywhere where anyone has had that same flash dialog box pop up with only 3 tabs.
Thanks in advance!
You can use [Allow][Deny] dialog:
It appears whenever you access microphone/camera by attaching them to NetStream.
Related question on stackoverflow:
allow deny remember flash security panel
As Sunil D. mentioned above, Firefox will not show some tabs in private/incognito mode. The problem is user can turn it on not only by opening new private window, but also by changing some regular Firefox preferences. Go to Firefox options, select "Privacy" tab and search for "History" group. There you will see a dropdown with "Firefox will:" label. There you can select "Never remember history" item and browser will show you a small tip:
Firefox will use the same settings as private browsing, and will not remember any history as you browse the Web.
Then your browser will be restarted. Further research revealed that Firefox really turns private mode on after such manipulations. Sunil D. and Jordan Reiter were both right - the problem can happen with users in private mode and problem can be solved by reinstalling Firefox with all it's configurations (including that history setting). Of course, it's much easier to ask users to change that setting. Also private mode detection with JavaScript can help to inform user about this expected problem.