Jump to content
UBot Underground

UBot and displaying a PDF


Recommended Posts

This is for trying to download a bank statement in Bank of America.

 

I'm trying to interface with a javascript call which 'launches' a pdf file.  Unfortunately, there isn't an obvious url for the pdf file.

 

Here is what the code looks like:

 

 <tr class="even">
                    <td class="first TL_NPI_L2">07/07/2012</td>
                    <td class="second"><input type="hidden" id="hidden-documentId17" value="/CRD/CRDSTMBA.USA00.TSY01" name="statement-name">
                        <a id="documentId17" name="NW_Credit_Card_statement" href="javascript:void(0);" class="statement-name boa-action boa-task-layer-link boa-com-task-layer-right boa-task-custom-doc-inbox dotted" rel="dic-inb-name-notifications-17">July 07, 2012 Statement <span class="ada-hidden">On Activating the link view/download Layer opens. Press ESCAPE to close the layer</span><span class="boa-ada-text ada-hidden"> Information Panel</span></a>

                        <!-- Id of below div should be of order. 0,1,2 etc should be appended at the end-->
                        <div id="dic-inb-name-notifications-17" class="sbcard-view-layer hide">
                            <ul>
                                <li>
                                    <input type="hidden" id="hidden-menuOption1" value="viewPDF" name="menuOption">
                                    <a class="be-trigger" name="NW_Credit_Card_statement_view_pdf" id="menuOption1" title="View PDF" href="javascript:void(0);" onclick="docInboxModuleSbcardSkin.fn.downloadLayerSubmit(this, 'viewPDF', '/mycommunications/sbstatements/retrievedocument.go', 'July 07, 2012', '07/07/2012', '/CRD/CRDSTMBA.USA00.TSY01', '196');">View PDF<span class="ada-hidden">July 07, 2012</span></a>
                                </li>
                                <li class="sbdashed-line">
                                    <input type="hidden" id="hidden-menuOption2" value="viewText" name="menuOption">
                                    <a class="be-trigger" name="NW_Credit_Card_statement_view_text" id="menuOption2" title="View text" href="javascript:void(0);" onclick="docInboxModuleSbcardSkin.fn.downloadLayerSubmit(this, 'viewText', '/mycommunications/sbstatements/retrievedocument.go', 'July 07, 2012', '07/07/2012', '/CRD/CRDSTMBA.USA00.TSY01', '196');">View text<span class="ada-hidden">July 07, 2012</span></a>
                                </li>
                                <!-- Please add this class in required place to insert the line in the popup -->                                
                                <li>
                                    <input type="hidden" id="hidden-menuOption3" value="downloadPDF" name="menuOption">
                                    <a class="be-trigger" name="NW_Credit_Card_statement_download_pdf" id="menuOption3" title="Download PDF" href="javascript:void(0);" onclick="docInboxModuleSbcardSkin.fn.downloadLayerSubmit(this, 'downloadPDF', '/mycommunications/sbstatements/retrievedocument.go', 'July 07, 2012', '07/07/2012', '/CRD/CRDSTMBA.USA00.TSY01', '196');">Download PDF<span class="ada-hidden">July 07, 2012</span></a>
                                </li>
                                <li> 
                                    <input type="hidden" id="hidden-menuOption4" value="downloadText" name="menuOption">
                                    <a class="be-trigger" name="NW_Credit_Card_statement_download_text" id="menuOption4" title="Download text" href="javascript:void(0);" onclick="docInboxModuleSbcardSkin.fn.downloadLayerSubmit(this, 'downloadText', '/mycommunications/sbstatements/retrievedocument.go', 'July 07, 2012', '07/07/2012', '/CRD/CRDSTMBA.USA00.TSY01', '196');">Download text<span class="ada-hidden">July 07, 2012</span></a>
                                </li>
                            </ul>
                        </div>
                    </td>

 

 

I'm not even sure how to approach this.  When I open the pdf file, I get the following url:

 

https://secure.bankofamerica.com/mycommunications/sbstatements/retrievedocument.go

 

Thoughts?

 

Thanks,

 

Stan

Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...