question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Broken Website] map.baidu.com javascript stops working with darkreader enabled

See original GitHub issue

Broken Website Report

Website Address

https://map.baidu.com

Steps To Reproduce

  • Go to the website with darkreader enabled
  • Click on any PoI on map - nothing happens

Problematic Observation

This seems to happen only on tab load with darkreader enabled. If I disable darkreader and open the page, then re-enable darkreader, everything works as expected.

System Information

  • OS: Arch Linux x86_64
  • Browser: Firefox 98.0b8
  • Dark Reader Version: 4.9.45

Additional Context

This may have a similar cause of https://github.com/darkreader/darkreader/issues/6480#issuecomment-897696175 but I am not sure.

There is one javascript error in the console only when the problem appears:

Uncaught TypeError: can't access property "getAttribute", o is undefined
    n https://webmap0.bdimg.com/wolfman/static/common/js/libs/mod_5dbb339.js:1
    loadCss https://webmap0.bdimg.com/wolfman/static/common/js/libs/mod_5dbb339.js:1
    <anonymous> https://webmap1.bdimg.com/wolfman/static/common/widget/ui/vcode/Vcode_d33db8a.js:1
    require https://webmap0.bdimg.com/wolfman/static/common/js/libs/mod_5dbb339.js:1
    <anonymous> https://webmap0.bdimg.com/wolfman/static/common/pkg/init-pkg_21cb13f.js:18
    require https://webmap0.bdimg.com/wolfman/static/common/js/libs/mod_5dbb339.js:1
    <anonymous> https://webmap0.bdimg.com/wolfman/static/common/pkg/init-pkg_21cb13f.js:5
    require https://webmap0.bdimg.com/wolfman/static/common/js/libs/mod_5dbb339.js:1
    <anonymous> https://webmap0.bdimg.com/wolfman/static/common/pkg/init-pkg_21cb13f.js:15
    require https://webmap0.bdimg.com/wolfman/static/common/js/libs/mod_5dbb339.js:1
    <anonymous> https://webmap0.bdimg.com/wolfman/static/common/pkg/libs_e1188c6.js:7
    require https://webmap0.bdimg.com/wolfman/static/common/js/libs/mod_5dbb339.js:1
    o https://webmap0.bdimg.com/wolfman/static/common/js/libs/mod_5dbb339.js:1
    define https://webmap0.bdimg.com/wolfman/static/common/js/libs/mod_5dbb339.js:1
    <anonymous> https://webmap1.bdimg.com/wolfman/static/common/widget/ui/messageCenter/messageCenter_dae16c6.js:1

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
felixonmarscommented, Feb 27, 2022

Oh wait, I messed it up. Turns out it is also there with dark reader disabled - it is actually caused by uBlock Origin.

Now with uBlock Origin disabled and Dark Reader updated to #8297 version, everything works as expected.

Sorry for the confusion!

0reactions
felixonmarscommented, Feb 27, 2022

Thanks, I’ll try to find a reliable way to reproduce first (still didn’t make it).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Help – Dark Reader
On/Off switch enables or disables the extension. ... Not invert listed will prevent the extension from working on listed websites. ... google.com/maps etc....
Read more >
Malware Explorer — Uncategorized
So both Baidu and 163 are displaying page that have the image too! ... The malicious file issues a connect to http://www.chuckfaganco.com/docs/rmscpt5.htm ...
Read more >
What Are We Talking about When We Talk about Digital ...
China allegedly has used a wide range of cyber strategies, including DDoS attacks (bombarding a website with service requests), to censor data flows...
Read more >
11th International Conference on Cyber Conflict: Silent Battle ...
approach to the most relevant issues in cyber defence. ... Centre's website www.ccdcoe.org, similarly to a database of national cyber ...
Read more >
CyberPro - National Security Cyberspace Institute
Page | 2. TABLE OF CONTENTS. This Week in CyberPro . ... Air Force issues second call for network attack capabilities .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found