Cannot read property 'removeAttribute' of null: Cant find source of it

前端 未结 3 508
孤街浪徒
孤街浪徒 2020-12-17 10:14

Im getting errors over and over again on each of my sites:

VM42958:5 Uncaught TypeError: Cannot read property \'removeAttribute\' of null
(anonymous functio         


        
相关标签:
3条回答
  • 2020-12-17 10:17

    The var style = ... statement gives null. You do not have in the document any of the queried elements.

    0 讨论(0)
  • 2020-12-17 10:22

    To be honest the worst solution ever is remove AdBlock or disable it.

    It's looks like for me: put down you'r sun glasses and go to Sahara Desert - it' will burn your eyes...

    0 讨论(0)
  • 2020-12-17 10:23

    Same problem here. For some reason Chrome ADBlock (not plus) was the cause.

    0 讨论(0)
提交回复
热议问题