how to change input field using javascript - javascript

I'm trying to change input value on website using chrome development tools.
I tried many different way, but still not working.
cuz many triggers embedded there.
source page below.
https://upbit.com/exchange?code=CRIX.UPBIT.KRW-BTC

Related

Programatically set controlled form values from a Chrome extension

I'm trying to write a Chrome extension that makes the process of uploading to various social media platforms a little smoother.
This requires being able to set form inputs such as the Title and Description on, for example the IGTV upload page . I have tried to do this with javascript such as document.querySelector('input[placeholder="Title"]').value = 'My New Title' and this appears to work.
However if you then 'focus' on the inputs once my code has filled them in, they revert to being empty again. I expect this is because they are being controlled by some frontend React code that is not being altered by my code.
Can you please suggest a way for me to set these inputs with my code in a way that the frontend framework will detect?

How can you create an app with html and js that works live on keypress?

Im really stunned by what js combined with html can do. I recently searched on google for "sha256 online" and got a classic, type input and press button to get your output type of form.
Then when i searched for others, i found a page that requires absolutely no press of a button, but as soon as i type more letters in the box it was automatically/live hashing the input. How is this possible? And can i maybe implement such a design for my own application without any advanced skillsets(i am new to web development)?
https://quickhash.com/hash-sha256-online - this was the traditional styled type where a classic input button was required.
https://spacerival.com/Lounge/hashing-tools/ - on this one there is no key press needed, as soon as i type it updates?
I checked their html code and it's pretty much identical? I guess the magic is done on JS, but the js code is completely unreadable when i checked it :(

Calling OA Page from custom JSP

I'm trying to launch a custom OAF page from a custom JSP. Although the OAF page is loading fine and functionality is also working correctly, but there is drastic change in the look and feel of the OAF page. FOr eg: Go/Clear buttons are displayed as rectangles. Also, for LOVInput fields, the Quick Select is coming as an hyperlink rather than Image that we see normally.
I'm using Oracle 11i and Jdev 9i.
I have registered my OAF page through AOL function, and calling using javascript from my custom JSP.
I have tried looking at various sites but mostly they deal with launching of OAF page (which i already have done).
https://community.oracle.com/thread/571687?start=0&tstart=0
https://community.oracle.com/thread/388873?start=15&tstart=0
My issue is with the difference in look and feel of the OAF page. It is working fine in JDev.
Image showing Go and QUick Select buttons
Fixed this issue by updating the profile option "Oracle Application Look and Feel" value at User/Responsibility level as "Browser Look and Feel".

insert value into input tag from chrome extension

I have written a chrome extension which can successfully insert value into input tags on many pages by simple jquery code
$("#myId").val('myvalue');`
except this page`
I have tried using javascript jquery but nothing works, Though chromes built in autofill and autofill extension can insert value efficiently.
From my chrome extension I want to insert value into these two input ID's "#loginEmailMobile" and "#clientpassword" . When I use .val() method it shows the value there but seems like floating. And don't work when I click on sign in. So how I can make it work? Please help.
The page is listening for keyboard events to update the UI as well, your method is only changing the .value property. If you want the page to "know" something changed, you should send a keyboard event to the inputs as well. The AutoFill extension seems to do this by calling someelement.dispatchEvent(new Event('input')) on the inputs, which seems to do the job.
Is the url permissions and schemes set for the website it is not working for?

Fetching Dynamic Website Data Using Java

I am currently using Java (Eclipse) to build this application which will be able to take a spans value from a specific website and show those values on console. But the issue i am having is, the Website i believe is Dynamic and therefore, i am not able to get those span values. The span (id=spot) keeps refreshing every 1 second and i guess it uses JavaScript. The class keeps auto changing as well when i do a "Inspect element". But if i do "View page source", there is no value inside the span. Could anyone suggest anyway to either render the web page and fetch data or any other method to do this. I have been
on google for the past 2 hours and nothing helped. I am new to this selenuim, JSoup, rhino which did not help at all. So please try to elaborate as much as you can :)
Here is the Web Page: https://www.binary.com/trading?l=EN
span id=spot

Categories