MetaMask / metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
https://metamask.io
Other
11.84k stars 4.83k forks source link

[Bug]: ReferenceError: jQuery is not defined in web browser - lockdown-install.js:1:97687 #25710

Open slrslr opened 2 months ago

slrslr commented 2 months ago

Describe the bug

ReferenceError: jQuery is not defined in web browser

Expected behavior

Metamask does not spam the console with error.

Screenshots/Recordings

No response

Steps to reproduce

Opening new Firefox 115.12.0esr (64-bit) tab, F12 key to open dev. console, Console tab, open page http://cellyforum.com Check errors in a dev console. I can see:


ReferenceError: jQuery is not defined
    <anonymous> http://myanonymousdomain.com/jscripts/general.js?ver=1603:754
lockdown-install.js:1:97687
    functors moz-extension://string-matching-metamask-extension/scripts/lockdown-install.js:1
    (Async: EventListener.handleEvent)
    functors moz-extension://string-matching-metamask-extension/scripts/lockdown-install.js:1
    functors moz-extension://string-matching-metamask-extension/scripts/lockdown-install.js:1
    lockdown moz-extension://string-matching-metamask-extension/scripts/lockdown-install.js:1
    <anonymous> moz-extension://string-matching-metamask-extension/scripts/lockdown-run.js:4

How I have figured out it is matching Metamask? searching that string at about:debugging#/runtime/this-firefox (expand Extensions)

Error messages or log output

No response

Version

11.16.13

Build type

None

Browser

Firefox

Operating system

Linux

Hardware wallet

No response

Additional context

No response

Severity

No response

katkopel commented 2 months ago

@slrslr Thank you for reporting this issue! Our team will be looking int this soon.

danjm commented 2 months ago

@slrslr if you open the same website in an instance of the browser where MetaMask is not installed, does the error still occur?

slrslr commented 2 months ago

I am not sure and can not reproduce. If you are unable to reproduce this, please close it.