Accessing Elements Inside iframe and body Tags with JavaScript

后端 未结 2 1632
伪装坚强ぢ
伪装坚强ぢ 2020-12-19 16:41

I\'m writing a GreaseMonkey script that modifies an attribute of an element with a specific ID, but I\'m having some problems accessing it due to a nontraditional HTML hiera

2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-19 17:01

    You first need to pull the document of the