monkeytype icon indicating copy to clipboard operation
monkeytype copied to clipboard

Brave Shield causing issues when blocking the cookie consent popup

Open Caliv0 opened this issue 5 months ago • 10 comments

Did you clear cache before opening an issue?

  • [X] I have cleared my cache

Is there an existing issue for this?

  • [X] I have searched the existing issues

Does the issue happen when logged in?

Yes

Does the issue happen when logged out?

Yes

Does the issue happen in incognito mode when logged in?

Yes

Does the issue happen in incognito mode when logged out?

Yes

Account name

No response

Account config

No response

Current Behavior

When I start to type, nothing happens. Even f5 doesn't work. The page is not frozen, or at least the cursor animation isn't, but rather every input is captured and then ignored. I can't even click anything on the page.

Expected Behavior

It should not ignore my inputs

Steps To Reproduce

I'm using Brave. On Ungoogled-Chromium the issue doesn't occur.

  1. Open monkeytype.com
  2. Click in the center of the page
  3. Start typing

If you opened the page for the first time, the bug probably occurs. After a reload, the bug is gone, probably due to the faster loading speed because of browser caching. To have the bug consistently, one can disable cache in the dev-tools. (tab) Network -> (checkbox) Disable cache.

The issue happened very consistently when I had the language tool spellchecking extension activated as well.

Environment

  • OS: Arch Linux
  • Browser: Brave
  • Browser Version: 122.1.63.165

Anything else?

This is what the network tab looks like when the bug occurs. image

The issue does occur even without any extensions installed.

Caliv0 avatar Mar 04 '24 14:03 Caliv0

What do you get when you shift click the version number. This issue was fixed yesterday.

Miodec avatar Mar 04 '24 14:03 Miodec

While the bug is active, nothing. It is just ignored.

After some attempts with cache enabled, I get this image

Caliv0 avatar Mar 04 '24 14:03 Caliv0

Im on the same version, everything is fine. Disable your extensions and try again.

Miodec avatar Mar 04 '24 14:03 Miodec

When I'm in incognito mode everything wooks well. I think the theme is partially responsible for the issue. I was unable to reproduce this in incognito (with all extensions disabled) but once I set the theme again to "bushido" the issue occured again. You might have to open and close the tab a few times for the issue to occur again.

Caliv0 avatar Mar 04 '24 14:03 Caliv0

What are you brave shield settings? Themes can't be the issue here.

Miodec avatar Mar 04 '24 14:03 Miodec

image

Since disabling shield, I was unable to reproduce the issue

Caliv0 avatar Mar 04 '24 15:03 Caliv0

Yeah idk... I set my shield to the same settings and everything is still fine.. Can you try to purge all website data and try again?

Miodec avatar Mar 04 '24 15:03 Miodec

After purging and enabling the shield again, the issue was gone. Once I signed in (and reloaded the page) it reappeared. My config:

{
    "theme": "bushido",
    "themeLight": "serika",
    "themeDark": "serika_dark",
    "autoSwitchTheme": false,
    "customTheme": false,
    "customThemeColors": [
        "#323437",
        "#e2b714",
        "#e2b714",
        "#646669",
        "#2c2e31",
        "#d1d0c5",
        "#ca4754",
        "#7e2a33",
        "#ca4754",
        "#7e2a33"
    ],
    "favThemes": [],
    "showKeyTips": true,
    "showLiveWpm": false,
    "showTimerProgress": true,
    "smoothCaret": "medium",
    "quickRestart": "off",
    "punctuation": false,
    "numbers": false,
    "words": 50,
    "time": 30,
    "mode": "quote",
    "quoteLength": [
        1
    ],
    "language": "english_1k",
    "fontSize": 1.5,
    "freedomMode": false,
    "difficulty": "normal",
    "blindMode": false,
    "quickEnd": false,
    "caretStyle": "default",
    "paceCaretStyle": "default",
    "flipTestColors": false,
    "layout": "default",
    "funbox": "none",
    "confidenceMode": "off",
    "indicateTypos": "off",
    "timerStyle": "mini",
    "colorfulMode": false,
    "randomTheme": "off",
    "timerColor": "main",
    "timerOpacity": "1",
    "stopOnError": "off",
    "showAllLines": false,
    "keymapMode": "off",
    "keymapStyle": "staggered",
    "keymapLegendStyle": "lowercase",
    "keymapLayout": "qwerty",
    "keymapShowTopRow": "layout",
    "fontFamily": "Roboto_Mono",
    "smoothLineScroll": false,
    "alwaysShowDecimalPlaces": false,
    "alwaysShowWordsHistory": false,
    "singleListCommandLine": "manual",
    "capsLockWarning": true,
    "playSoundOnError": "off",
    "playSoundOnClick": "off",
    "soundVolume": "0.5",
    "startGraphsAtZero": true,
    "showOutOfFocusWarning": true,
    "paceCaret": "off",
    "paceCaretCustomSpeed": 100,
    "repeatedPace": true,
    "pageWidth": "125",
    "accountChart": [
        "on",
        "on",
        "on",
        "on"
    ],
    "minWpm": "off",
    "minWpmCustomSpeed": 100,
    "highlightMode": "letter",
    "typingSpeedUnit": "wpm",
    "ads": "off",
    "hideExtraLetters": false,
    "strictSpace": false,
    "minAcc": "off",
    "minAccCustom": 90,
    "showLiveAcc": false,
    "showLiveBurst": false,
    "monkey": false,
    "repeatQuotes": "off",
    "oppositeShiftMode": "off",
    "customBackground": "",
    "customBackgroundSize": "cover",
    "customBackgroundFilter": [
        0,
        1,
        1,
        1,
        1
    ],
    "customLayoutfluid": "qwerty#dvorak#colemak",
    "monkeyPowerLevel": "off",
    "minBurst": "off",
    "minBurstCustomSpeed": 100,
    "burstHeatmap": true,
    "britishEnglish": false,
    "lazyMode": false,
    "showAverage": "off",
    "tapeMode": "off"
}

Caliv0 avatar Mar 04 '24 15:03 Caliv0

Tried importing the settings and everything is fine again...

Miodec avatar Mar 04 '24 15:03 Miodec

I tinkered around a bit more. I tried to reproduce this error on Windows 10, without success. I switched to another machine which had Arch installed and the issue appeared again.

The issue appears very inconsistently. About 1/3 of the time without my config, and 4/5 with my config. Since disabling shield resolves the issue, I'll just do that.

Caliv0 avatar Mar 04 '24 16:03 Caliv0