How i change text with Tampermonkey? [closed] - javascript

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
https://prnt.sc/r9zh7k
I want change the 0,00 for another value, can anyone helps?

You can try something like
document.querySelector('[data-v-c35c6530]').innerHTML = "new text";
if you link the site, I can verify this will work.

Related

The email address is badly formatted. I don't know what's wrong with this can someone help me. [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
Code is not working, I dont know what was the problem
It looks like the email format is reliant on the element in the page with id = 'emailAddress'. Check that it is in the correct format.
Also, if it doesn't run, try changing the last line from:
}());
To:
})();

Unable to simulate real clicks and acquire desired result [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I am attempting use jQuery to simulate the process of pasting this link
steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20M191782551910023971A6657788912D9818426115975581183
into the input field at https://beta.glws.org/ and clicking the "Check" button in order to acquire this result.
The following is my code
$('input').select().val("steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20M564455421073965484A6657119277D16476560725308262707");
$('.btn-check:contains("Check")').trigger("click");
but it doesn't work as it should and I get THIS instead of the desired result :(
How do I fix this?

How to change Browser button name? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
As I am new in UI development ,Kindly help to provide solution. How to change the Browser button name by using jquery.
That would be $('selector').text('some other name')
If your element is an <input>, then you can use $('selector').val('some other name')

A Mistake in my Codecademy Codebit, Not Sure What [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I do NOT have code here, as for it is going to take up too much space. It is an error in JavaScript as for it won't run anything in it, aswell as jQuery.
Click here if you wanna live...
Your problem is here I think:
.replace('function mName1()'),('?Method??-Custom?','function')
that comma needs to be a period and I'm guessing replace needs called.
.replace('function mName1()').replace('?Method??-Custom?','function')

Regex for a particular code in javascript [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
i'm working on a form validation and i need a pattern for a paricular type of code.
it's like this:XXXX99999999.
this is the regex i made myself:[A-Za-z]{4}d{8}$
but it doesn't work
Try this:
[A-Z]{4}\d{8}
check it out here: http://regexr.com/3ao9d
var regex=/^[A-Za-z]{4}\d{8}$/
Test this in Developer console
var str="XXXX99999999";
str.match(regex)

Categories