| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Safe Browsing</title> | |
| <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> | |
| <link rel="stylesheet" href="safe_browsing.css"> | |
| </head> | |
| <body> | |
| <div id="header"> | |
| <h1 id="sb-title">Safe Browsing</h1> | |
| </div> | |
| <cr-tab-box id='tabbox'> | |
| <div slot="tab" id="preferences">Preferences</div> | |
| <div slot="tab" id="csbrr">Client Safe Browsing Report Requests</h1></div> | |
| <div slot="tab" id="cpr">Client Phishing Requests</h1></div> | |
| <div slot="tab" id="password-protection">Password Protection</h1></div> | |
| <div slot="tab" id="urt-lookup">URT Lookup</div> | |
| <div slot="tab" id="referrer-chain">Referrer Chain</div> | |
| <div slot="tab" id="log">Log Messages</div> | |
| <div slot="tab" id="reporting">Reporting Events</div> | |
| <if expr="not is_android"> | |
| <div slot="tab" id="db-manager">Database Manager</div> | |
| <div slot="tab" id="hash-cache">Hash Cache</div> | |
| </if> | |
| <div slot="tab" id="db-manager-search-hashes-lookups">Database Manager SearchHashes Lookups</div> | |
| <div slot="tab" id="download-protection">Download Protection</div> | |
| <div slot="tab" id="deep-scan">Deep Scans</div> | |
| <if expr="not is_android"> | |
| <div slot="tab" id="hprt-lookup">HPRT Lookup</div> | |
| </if> | |
| <div slot="panel"> | |
| <h2>Experiments</h2> | |
| <div class="content"> | |
| <p id="experiments-list" class="key-value-list"></p> | |
| </div> | |
| <h2>Preferences</h2> | |
| <div class="content"> | |
| <p id="preferences-list" class="key-value-list"></p> | |
| </div> | |
| <h2>Policies</h2> | |
| <div class="content"> | |
| <p id="policies-list" class="key-value-list"></p> | |
| </div> | |
| <h2>Safe Browsing Cookie</h2> | |
| <div class="content"> | |
| <p id="cookie-panel" class="key-value-list"></p> | |
| </div> | |
| </div> | |
| <div slot="panel"> | |
| <h2>CSBRRs (ClientSafeBrowsingReportRequest) sent</h2> | |
| <div class="content"> | |
| <p id="sent-csbrrs-list"></p> | |
| </div> | |
| </div> | |
| <div slot="panel"> | |
| <h2>Client Phishing requests sent</h2> | |
| <div class="content"> | |
| <p id="sent-client-phishing-requests-list"></p> | |
| </div> | |
| <h2>Client Phishing responses sent</h2> | |
| <div class="content"> | |
| <p id="received-client-phishing-response-list"></p> | |
| </div> | |
| </div> | |
| <div slot="panel"> | |
| <h2>Saved Password Hashes</h2> | |
| <div class="content"> | |
| <p id="saved-passwords"></p> | |
| </div> | |
| <h2>Password Protection Events</h2> | |
| <div class="content"> | |
| <p id="pg-event-log"></p> | |
| </div> | |
| <h2>Security Events</h2> | |
| <div class="content"> | |
| <p id="security-event-log"></p> | |
| </div> | |
| <h2>Password Protection Pings</h2> | |
| <table id="pg-ping-list" class="request-response"></table> | |
| </div> | |
| <div slot="panel"> | |
| <h2>URT Lookup Pings</h2> | |
| <table id="urt-lookup-ping-list" class="request-response"></table> | |
| </div> | |
| <div slot="panel"> | |
| <h2>Referrer Chain</h2> | |
| <form id="get-referrer-chain-form"> | |
| <input type="text" id="referrer-chain-url"> | |
| <input type="submit" value="Get Chain"> | |
| </form> | |
| <div class="content"> | |
| <p id="referrer-chain-content"></p> | |
| </div> | |
| <if expr="is_android"> | |
| <h2>Most Recent Referring App Info (Android)</h2> | |
| <p id="referring-app-info"></p> | |
| </if> | |
| </div> | |
| <div slot="panel"> | |
| <h2>Log Messages</h2> | |
| <div class="content"> | |
| <p id="log-messages"></p> | |
| </div> | |
| </div> | |
| <div slot="panel"> | |
| <h2>Reporting Events</h2> | |
| <div class="content"> | |
| <p id="reporting-events"></p> | |
| <table id="reporting-events-table" class="expandable-events" hidden> | |
| <thead> | |
| <tr> | |
| <th>Time</th> | |
| <th>Event Type</th> | |
| <th>Profile</th> | |
| <th>Device</th> | |
| <th>Successfully Uploaded</th> | |
| <th></th> | |
| </tr> | |
| </thead> | |
| <tbody> | |
| </tbody> | |
| </table> | |
| <template id="resultRowTemplate"> | |
| <tr class="main-row"> | |
| <td class="time-cell"></td> | |
| <td class="event-type-cell"></td> | |
| <td class="profile-cell"></td> | |
| <td class="device-cell"></td> | |
| <td class="success-cell"></td> | |
| <td class="expander-cell"> | |
| <span class="expander" role="button" tabindex="0"></span> | |
| <button class="copy-button">Copy</button> | |
| </td> | |
| </tr> | |
| <tr class="details-row"> | |
| <td class="details-cell" colspan="6"></td> | |
| </tr> | |
| </template> | |
| </div> | |
| </div> | |
| <if expr="not is_android"> | |
| <div slot="panel"> | |
| <h2>Database Manager</h2> | |
| <div class="content"> | |
| <p id="database-info-list" class="key-value-list"></p> | |
| </div> | |
| </div> | |
| <div slot="panel" id="hash-cache-panel"> | |
| <h2>Full Hash Cache</h2> | |
| <div class="content"> | |
| <p id="full-hash-cache-info"></p> | |
| </div> | |
| </div> | |
| </if> | |
| <div slot="panel" id="db-manager-search-hashes-lookups-panel"> | |
| <h2>Database Manager SearchHashes Lookups</h2> | |
| <p id="db-manager-search-hashes-lookups-empty-text">No Database Manager SearchHashes lookups logged yet.</p> | |
| <table id="db-manager-search-hashes-lookups-table" class="request-response" hidden> | |
| <thead> | |
| <tr> | |
| <th>Request Details</th> | |
| <th>Response Details</th> | |
| </tr> | |
| </thead> | |
| <tbody> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div slot="panel"> | |
| <h2>Download URLs checked</h2> | |
| <div class="content"> | |
| <p id="download-urls-checked-list"></p> | |
| </div> | |
| <h2>Download requests (ClientDownloadRequest) sent</h2> | |
| <div class="content"> | |
| <p id="sent-client-download-requests-list"></p> | |
| </div> | |
| <h2>Download responses (ClientDownloadResponse) received</h2> | |
| <div class="content"> | |
| <p id="received-client-download-response-list"></p> | |
| </div> | |
| <if expr="not is_android"> | |
| <h2>Download TailoredVerdict override</h2> | |
| <div class="content"> | |
| <p id="tailored-verdict-override-content"></p> | |
| </div> | |
| <div class="content"> | |
| <form id="tailored-verdict-override-form"> | |
| <fieldset> | |
| <legend>TailoredVerdictType</legend> | |
| <label> | |
| <input type="radio" name="tailored_verdict_type" | |
| value="VERDICT_TYPE_UNSPECIFIED"> | |
| VERDICT_TYPE_UNSPECIFIED | |
| </label> | |
| <label> | |
| <input type="radio" name="tailored_verdict_type" | |
| value="COOKIE_THEFT"> | |
| COOKIE_THEFT | |
| </label> | |
| <label> | |
| <input type="radio" name="tailored_verdict_type" | |
| value="SUSPICIOUS_ARCHIVE"> | |
| SUSPICIOUS_ARCHIVE | |
| </label> | |
| </fieldset> | |
| <button type="submit">Submit override</button> | |
| <button id="tailored-verdict-override-clear">Clear override</button> | |
| </form> | |
| </div> | |
| </if> | |
| </div> | |
| <div slot="panel"> | |
| <h2>Deep Scans</h2> | |
| <button id="deep-scan-export-btn"> | |
| Export as JSON | |
| </button> | |
| <table id="deep-scan-list" class="request-response"></table> | |
| </div> | |
| <if expr="not is_android"> | |
| <div slot="panel"> | |
| <h2>HPRT Lookup Pings</h2> | |
| <table id="hprt-lookup-ping-list" class="request-response"></table> | |
| </div> | |
| </if> | |
| </cr-tab-box> | |
| <template id="result-template"> | |
| <div> | |
| <span class="bold-span"></span> | |
| <span></span> | |
| </div> | |
| </template> | |
| <template id="cookie-template"> | |
| <div> | |
| <span class="bold-span">Value: </span> | |
| <span class="result"></span> | |
| </div> | |
| <span class="bold-span">Created: </span> | |
| <span class="result"></span> | |
| </template> | |
| <template id="rt-lookup-template"> | |
| <span class="bold-span">RT Lookup Experiment Enabled: </span> | |
| <span id="experiment-bool"></span> | |
| </template> | |
| <script type="module" src="safe_browsing.js"></script> | |
| </body> | |
| </html> |