Fishing data from a java script

Hi all,
there is an internet site which runs a java script to collect data and print them on the screen in a table. To be more precise, there is a button on that site; when the mouse goes upon that button the status bar writes something like "javascript: ..."; and when I click on that button the script is launched and after a few seconds a table with (many) data appears.
However, it is not possible to copy or export that table of data (and this is precisely what I want to do!). I can only visualize them.
So my question is: how can I access to these data (in ASCII format)? My underlying idea is that they must be stored somewhere on my computer, or that there is a way to spy on the javascript and fish the data...
Thanks for helping me!
Bruno

If the data can't be copied, you might not have the legal rights to do so, anyway.
How about opening the source of the site when your browser shows it? Or copying using CTRL+C instead of the mouse? If Javascript disallows both, turn it off.

Similar Messages

  • View Object to read data from a java file

    Hi,
    I am using JDeveloper 11.1.1.4 and ADF-BC in my application.
    For one of my view objects , I want the data to be read from a java file which exposes some method to return a collection.
    I cannot use a static view object in this case.
    Please suggest the best way to implement this requirement.Basically build a view object that should read data from a java file.
    Thanks,
    Praveen

    Depending on your use case you can either use a programmatic VO or directly expose the JV class as a data control.
    http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_36/jdtut_11r2_36.html

  • Is it possible to call a method in a servlet from  a java script ?

    I need to do a dynamic html page . In the page i select some things and then these things must communicate whit a servlet because the servlet will do some DB querys and update the same webpage.
    So is it possible to actually call a method of a servlet from a java script? i want to do something that looks like this page:
    http://www.hebdo.net/v5/search/search.asp?rubno=4000&cregion=1011&sid=69DHOTQ30307151
    So when u select something in the first list the secodn list automaticly updates.
    thank you very much

    You can
    1. load all the options when loading the page and
    set second selection options when user selected
    the first; or
    2. reload the page when user select first selection
    by 'onChange' event; or
    3. using iframe so you only need to reload part of
    the page.

  • Static lookup lists:read data from a Java *.properties file

    Hi
    i need to make static lookup lists i am using read data from a Java *.properties file
    i am using the Class "PropertyFileBasedLookupViewObjectImpl" that wrote by Steve Muench in ToyStore.
    but i need to use the default language for that i update the loadDataFromPropertiesFile()
    method to find the correct properties file
    String temp=Locale.getDefault().getLanguage();
    String propertyFile =
    getViewDef().getFullName().replace('.', '/')+"_"+temp+ ".properties";
    the problem:
    For English(TEST_en.properties) it is good and working
    For Arabic(TEST_ar.properties) read from correct file _ar.properties
    but the dispaly character is wrong
    When Debug
    In the File 1=دمشق
    In debug 1=/u32423

    Depending on your use case you can either use a programmatic VO or directly expose the JV class as a data control.
    http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_36/jdtut_11r2_36.html

  • How to populate a table in the html page from the java script

    Hi all,
    I have doubt in populating a table in the html page. my application is as follows
    I have a html page in which i have a combo box and a table following the combo box.
    i have to populate the table depending on the item selected in the combo box.
    for this i am using javascript to get the value of combo box onClick
    then i have to call some function thru jsp to get the data and then i have to populate the table with thst into from java script
    how can i do this, i.e populating html table from java script
    Thanks in advance
    satya

    Hi Mihai,
    You can populate data in DO_INIT_CONTEXT method of ur impl class in your Z component.
    data:
    lv_struct_ref type ref to YOUR_STRUCTURE,
    lv_value_node type ref to cl_bsp_wd_value_node,
    lv_bo_coll type ref to if_bol_bo_col.
    Data: current type ref to if_bol_bo_property_access.
    data: dref type ref to data.
    data: lv_guid_h type crmt_object_guid.
    data: lt_attr type table of YOUR_STRUCTURE.
    data: ls_attr type YOUR_STRUCTURE.
    data: lr_entity type ref to cl_crm_bol_entity.
    create object lv_bo_coll type cl_crm_bol_bo_col.
    lt_attr is ur internal table.
    Loop at lt_attr into ls_attr.
      create data lv_struct_ref.
      create object lv_value_node
           exporting
                iv_data_ref = lv_struct_ref.
    call method lv_value_node->if_bol_bo_property_access~set_property
    exporting
    iv_attr_name = 'YOURFIELDNAME1'
    iv_value = ls_attr-firstname.
    call method lv_value_node->if_bol_bo_property_access~set_property
    exporting
    iv_attr_name = ' YOURFIELDNAME2'
    iv_value = ls_attr-lastname.
    lv_bo_coll->add( lv_value_node ).
    typed_context->YOURCONTEXTNODE->set_collection( lv_bo_coll ).
    endloop.
    Regards,
    Raghu

  • Howto adres a detail region from another java script or href

    I've set up a site with the spry regions and detail regions, loading from an external xml file.
    here it is: http://www.mulleners.nl/nieuw/projecten.html
    when you switch between "deventer" and "arnhem" you see the image switching, and also the amount of points on the bottom of the page. These points should show some more images of the same project. Now only the first picture is shown.
    At the moment this is the image source img src="images/{nr}/1.jpg".
    The {nr} is the project number, which has its corresponding folder.In this folder there are a couple of pictures (1.jpg, 2.jpg, ...etc)
    So what i'm trying to do is replacing the "1" by a variable which I can adres with a java script.
    Any help/suggestion on how to solve this? Or comments on the general approach?
    thanks,
    sven

    I've set up a site with the spry regions and detail regions, loading from an external xml file.
    here it is: http://www.mulleners.nl/nieuw/projecten.html
    when you switch between "deventer" and "arnhem" you see the image switching, and also the amount of points on the bottom of the page. These points should show some more images of the same project. Now only the first picture is shown.
    At the moment this is the image source img src="images/{nr}/1.jpg".
    The {nr} is the project number, which has its corresponding folder.In this folder there are a couple of pictures (1.jpg, 2.jpg, ...etc)
    So what i'm trying to do is replacing the "1" by a variable which I can adres with a java script.
    Any help/suggestion on how to solve this? Or comments on the general approach?
    thanks,
    sven

  • Dropdown data from WebDynpro Java

    Hi Experts,
    Is it possible to dynamically populate dropdown items from the Java WebDynpro context which are in turn populated using an aRFC from SAP R/3? If so, how do i go about in doing this?
    Cheers,
    Alfonso

    Hello,
    To dynamically populate Drop downs inside adobe form you can have two approaches:
    1. Dynamically populate the simple type using Modifyable Simple Type. Associate  this simple type with a context attribute. Map this context attribute with the dopdown in form desinger.
    2. Second approach is to loop at the possible set of values inside the form designer by using java script. Then populate the dropdown enumaration in this for loop
    Regards,
    Virag

  • Retrieving data from a MATLAB script node

    I am creating a VI that imports and manipulates arrays of data points and then plots them in Labview. When I run my Matlab script in Matlab there are no errors and all the assigned variables exist in the form that they should exist but for some reason Labview cannot retrieve all of them (they just show up as zeros). There are no errors in the script as far as I can tell. Do you have any idea what could be going wrong?

    Hi,
    You can use the MatLAB window opened by LabVIEW to debug your script.
    Check the values of your variables in the MatLAB window and try to find out where the data goes wrong. I've experienced many problems with LabVIEW MatLAB nodes on different PCs, and many times legal MatLAB operations would go wrong in the script node. You will need to find out which line exactly does your MatLAB code not executing correctly and try to modify the MatLAB codes from there.
    Hope this help,
    Dan

  • Date Difference in Java Script

    Hi,
    I need a validations for two dates.
    "From Date" should be less than "To Date"
    I am sure that I am getting two dates in valid format only as I am picking then from a Calendar Object.
    I need to check only one condition that From Date should be less than To Date.
    I am getting the Date values as String as these are from a text field in the HTML.
    The date format(pattern) is not fixed as it depends on the Locale Settings.
    The date should support all the patterns available.
    I am not able to parse the dates to a valid value.
    I am facing problems with some formats(MM.dd.yyyy) while parsing to a date value.
    new Date(07.01.2004) --> giving NaN.
    Kindly suggest me,
    Thanks
    Nagalakshmi

    I think you should use java.text.SimpleDateFormat, for example:
    DateFormat df = new SimpleDateFormat("MM.dd.yyyy");
    try {
        Date risult = df.parse("07.01.2004");
    } catch (ParseException e) {
        // do something with exception
    }To compare the dates try "before" and "after" methods of class Date.

  • Download data from sharepoint using script

    Hi,
    Can someone please help me and let me know how can i download data automatically from sharepoint server.
    URL - MyDomain.sharepoint.com/_layouts/15/WopiFrame.aspx?sourcedoc=%1-2-3-4%7D&file=MPS.xlsx&action=default
    I want to create a script which would run periodically and download this file to linux server.
    Any help would be appreciated.

    Hi,
    As you said, you want to download files from SharePoint server to your Linux server.
    This can be achieved with the REST service of SharePoint 2013, “developers can interact remotely with SharePoint data by using any technology that supports REST web requests”:
    http://msdn.microsoft.com/en-us/library/office/dn450841(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/office/fp142380(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/office/jj164022.aspx
    For about how to call REST service in Linux, it would be more appropriate to open a thread in the corresponding forum to get more help and confirmed answers.
    Feel free to reply if there are still any questions.
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Check data valid with Java Script

    Hi, every one,
    I made a jsp program and just to check if the data is valid before submit. My problem is even the data is invalid, it still go to next jsp page and display alert message at the same time. But I think if the data is invalid, we can't go to next jsp page. So, any one can tell me what's wrong with my program.
    Thanks in advance.
    The source code is as follows:
    <HTML><HEAD>
    <TITLE>TEST PROGRAM</TITLE>
    <SCRIPT LANGUAGE="JavaScript">
    function validate(){
         if(document.form1.yourname.value.length < 1){
              alert("please enter your full name");
              return false;
         if(document.form1.address.value.length < 3){
              alert("please enter your address.");
              return false;
         if(document.form1.phone.value.length < 3){
              alert("please enter your phone number");
              return false;
         return true;
    </SCRIPT>
    </HEAD>
    <BODY>
    <H1>FORM EXAMPLE</H1>
    Enter the following information. When you press the Display button,
    the data you entered will be validated, then sent by e-mail.
    <form name="form1" action="a2.jsp" enctype="text/plain" onSubmit="validate();">
    <p>
    <b>Name:</b><input type="text" length="20" name="yourname">
    <p>
    <b>Address:</b>
    <input type="text" length="30" name="address">
    <p>
    <b>Phone:</b><input type="text" length="15" name="phone">
    <p>
    <input type="SUBMIT" value="Submit">
    </FORM>
    </BODY>
    </HTML>

    Hi,
    I have another question. If i have a menu as follows and I just want to check the data valid on the current page. I mean, only value=1, 2,3 is valid, value=0 is invalid. How can I do?
    <td valign="middle" width="63%"> <font face="Arial, Helvetica, sans-serif" size="2">
    <select name="type">
    <option value="0">Please Select One of The Following Reasons</option>
    <option value="1">Exchange</option>
    <option value="2">Refund</option>
    <option value="3">Wrong Product</option>
    </select>
    </font></td>
    </tr>
    Thanks.
    peter

  • Can pass data from Seibel Java UI to OPA

    Hi all,
    presently client is using Java UI in Siebel and this java UI holds some value in a variable(this variable is not a field in siebel or not stored in siebel).
    so my question is can we pass that stored variable in java UI to OPA when siebel call OPA through Workflow.
    if yes ,how to configure it and how should IO mapping file should be?

    To pass data to OPA using the OPA Connector for Siebel, the data must be in a Business Object or an Integration Object.
    Cheers
    Frank

  • Extract data from Java to Excel

    Apologies for my ignorance in this field but is it possible to extract data from a Java based application (stock charts and the like) directly into Excel? If so could someone please contact me and explain the process in very simple terms as i have no idea how Java works :o)
    Many thanks.
    Gilsey

    Actually I should qualify my "Yes" answer. It is possible for a Java application to output data to Excel (using Jakarta POI for example). Whether it is possible to persuade an existing Java application to do that depends on the application. If it has been programmed to do it, then yes. Or if it has an underlying database where it stores its data, and you have access to that database, it might be possible to extract data from the database into Excel. Otherwise the programming of the application would have to be changed.

  • Want to get data from java file

    Hi,
    I am creating a program using JBuilder. All is going fine but im having trouble reading data. Well, I want to read data from a java program which is in the same package of my program but when i wrote the command to read it i get a Exception saying:
    "java.io.FileNotFoundException: dataControl2.java (The system cannot find the file specified)"
    Below is the program i wrote to do this:
    The hole point of my program is to get temporary stored data from my conrol program that stores the data and saves it to a file. This program needs to get the user name and password and if the password is enabled or not.
    try {
    FileInputStream fi = new FileInputStream("dataControl2.java");
    ObjectInputStream oi = new ObjectInputStream(fi);
    dataControl2 dat = (dataControl2) oi.readObject();
    jTextField1.setText("" + dat.userName);
    if (dat.usePassword == 1) {
    jPasswordField1.setEditable(false);
    usePassword = 1;
    oi.close();
    } catch (Exception e) {
    jTextField1.setText("" + e.toString());
    I understand that the file cant be found, that wasnt hard to work out, but the thing is that the file does exist so i think i have wrote me program wrong.
    If you can see wat i have done wrong or wish to learn more about my query email me at:
    [email protected]
    or
    [email protected]
    Many Thanks,
    Tom

    well, i did that and this is what my program looks like now:
    try {
    File aFile = new File("dataControl2.java");
    System.out.println("absolute path : " + aFile.getAbsolutePath());
    FileInputStream fi = new FileInputStream(aFile);
    ObjectInputStream oi = new ObjectInputStream(fi);
    dataControl2 dat = (dataControl2) oi.readObject();
    jTextField1.setText("" + dat.userName);
    if (dat.usePassword == 1) {
    jPasswordField1.setEditable(false);
    usePassword = 1;
    oi.close();
    } catch (Exception e) {
    jTextField1.setText("" + e.toString());
    System.out.println("");
    System.out.println("" + e);
    Well, now i get a message saying that the file is corrupted.
    I have really screwed this up but i really need to get this fixed.
    If possible i can zip my java program and send it to you if you ask!
    tom

  • Uploading data from a windows mobile device to a server using GPRS

    I want to upload data from a java application in pda (a Windows Mobile 6.1 device) to a server using a GPRS connection.My application uses a IBM weme VM.
    I want to know whether I can do this in Java itself,because otherwise I would have to resort to some C++ methods(that uses the connection manager api) and call that using jni. But if there is some java method for this,it would have been helpful and straightforward..
    Can I do this using socket connection in java? if so, Would somebody provide a code snippet ?Which port to connect to in that case?
    Plz let me know about this.
    Thanks in advance.
    Edited by: shreya_ann on Sep 23, 2010 4:44 AM

    Hey forum....
    When I dock my Windows Mobile device in a Windows 7 PC, the Windows Mobile Device Center opens and I can browse the device and copy files between it and the PC. However, I'm looking some kind of way to automate this process. All I'm really interested in
    is a single file named TEXT.TXT which is stored in the My Documents folder. Basically, I'm looking for a script that will detect the Windows device (it's USB-attached) when docked, find the file TEXT.TXT in the My Documents folder and then copy this file to
    the /Temp folder on the desktop.
    I've tried using the synchronization feature of WMDC but it copies the file to a documents folder set up for the specific device. Instead, I'm looking to find and copy the file to C:\TEMP regardless of the device.
    Thanks in advance for any help!
    Everett
    Just configure the device to sync the folders you want to sync.  Start by reading the help very carefully.
    This is not a scripting question and this forum is not for end user questions.   I suggest posting in the Windows Phone forum.
    You can also sync via OneDrive over a cellular or wireless connection.
    ¯\_(ツ)_/¯

Maybe you are looking for