토론 » 제작 요청

Hello guys i need help

§
게시: 2018-10-28
수정: 2018-10-28

Hello guys i need help

Plz help me i need scipt i have Tampermonkey®

I have html code and I would like to change its value using a script

          <p class="top-b-acc__amount">0</p>

and I would like to change the value of 0 to 1 using a script

woxxom관리자
§
게시: 2018-10-28

Changing the displayed text won't change the value, I'm afraid. To change the actual value we would need to "hack" into the page script. Can you share the URL?

§
게시: 2018-10-28

i just need to change the text

§
게시: 2018-10-28

I need to write this or something else
var input = document.querySelector

§
게시: 2018-10-29

Need help!

§
게시: 2018-10-31
var input = document.querySelector('p.top-b-acc__amount');
input.innerText = 1;

if you don't know the css selector rule,right click the elements item in the inspector and select the copy——copy selector,it may work usually

답글 게시

답글을 게시하려면 로그인하세요.

长期地址
遇到问题?请前往 GitHub 提 Issues。