I am running an applet in IE which is generated from an external VLX file.
The VLX file is pulling data from a database and when a user hover overs a specific icon when the applet is running, a hover over table appears, with four strings inside, more specifically one of the strings is a URL.
When viewing source it is not possible to see these string values, as they are generated by the VLX and then used by the applet, so the only code you can see is the applet code.
Is it possible to retrieve these strings? As I want to be able to use the URL to open a new web page.
I have it so when a user double clicks the specific icon, an alert is present to show where I am on the page, and within this event I need to use URL value.
This is not possible with the document.getElementById as these values are not accessible in the html.
Related
I have a website that whenever user clicks on this button, the website will display a data table and the tag for that will appear in the inspection tool. I want to retrieve this data table information via the HTML content when I scrape this website. However, the URL stays the same no matter the button is clicked or not. Technically I can't get the content with just the URL because it will open the website content when the button is not clicked (or no table displayed). I'm coding in Java. How can I get around this?
My example:
Here there are two div tags with the exact same class name "sKfxWe-BeDmAc sKfxWe-BeDmAc-AHe6Kc" with two same child div tags, but their contents are different. The thing is the second div tag only appears when I click a button on the page -- basically it renders a different content. The fact that the URL stays the same and the second div tag isn't there when the page's first rendered make it hard for me to get its content.
I request a web page in the browser and I should fill out the text boxes it has. They are too many text boxes and it takes too mush time too fill them and the result of this latency is an expired page. I have written those inputs in a text file (each line for each text box). I want to write a program that when it is running, it fills out the form and I just click the submit button of the website.
The form is something like the following image:
I have a form which somehow looks like the following image:
I searched a lot to find a way to fill out the text boxes automatically in C# but did not find anything. My question is that is there anyway to set the values of these text boxes in C# and send them back to server?
You can write a json object, then a javascript function that iterate that json and figure out by each value the selector of the correct input to use and set the correct value.
Then when the page open, use the dev console.
paste the json object, paste the function.
Run the function and the form should get fill out.
=)
I am trying to fill a website form(compareraja.in) to search and compare mobile phones using java. I currently am using the jaunt library, but I just cant get to know, how to fill an autocompleting textfield, what i want is to select a particular item from the autocompleting list after i apply a certain initial letters to the textfield. Is it possible with jsoup or jaunt or htmlunit or any other library?
if yes, which is the most better and easiest choice ? Also how can it be done?
My clue is that first of all you have to retrieve the whole autocompletion list which appears after you've applied a certain letters. If you open the web page in e. g. Chrome, go to Developer Tools F12, Network Tab, then you will see that each time you type a letter in the textfield, a corresponding XML HTTP Request is logged in the list.
For example, I've typed "htc ":
On the Network Tab the last one XHR Header section contains all the necessary query parameters :
And Response section shows the received data, which is actually being shown in that autocompletion list:
So, you can just make GET XHR to URL http://www.compareraja.in/autocompletedata.ashx?q=htc+&c=mobiles&limit=150 (you can even click this link or paste it to the browser's address line to test), where your URL-encoded initial letters should be placed instead of htc+. It works fine without timestamp parameter for me.
After that it's easy to parse the response, splitting text by \n and ; chars, and fill the textfield with selected item.
I have developed a java gui that contains two jTextField views for displaying the source and destination file paths. And , the user selects more than one file path , i would like to display previous paths in a pop-up attached to the jTextField. This is a common feature in almost all app.
Does anyone knows how this is called, in order to google how to do it?
It is called editable JComboBox.
I was wondering that the textbox itself identifies its type and when clicked inside textbox it gives the suggestion for that. For a instance i am creating a textbox for mobile no and when click inside the textbox it correctly detects it. Can anyone explain me how it was coded. It was browser feature or HTML feature?
Here is the Image explanation
This features of modern browsers is called auto-fill option, where the browser recognizes that you have performed a specific search before and suggests information that you have typed before. For sweepers, auto-fill saves a ton of time. When Roboform doesn't fill out a form for me, I usually only have to double-click in the text field and select the data I want from the drop-down list of options. This is particularly useful for daily sweepstakes that require codes.