[Browser] Support for Safe Browsing API
Bug #1261046 reported by
Adnane Belmadiaf
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Oxide |
Triaged
|
Medium
|
Unassigned | ||
Ubuntu UX |
Fix Committed
|
Medium
|
James Mulholland | ||
webbrowser-app |
Invalid
|
Medium
|
Unassigned |
Bug Description
The browser needs a way to check pages against malwares/phishing etc..
FF OS does use the Safe Browsing Lookup API
https:/
https:/
--- --- --- ---
UX Comment:
Current design spec appears to already account for this. Please notify me if any additional design is required.
Changed in webbrowser-app: | |
importance: | Undecided → Medium |
Changed in ubuntu-ux: | |
status: | New → Triaged |
assignee: | nobody → Giorgio Venturi (giorgio-venturi) |
importance: | Undecided → Medium |
summary: |
- Support for Safe Browsing API + [Browser] Support for Safe Browsing API |
Changed in ubuntu-ux: | |
assignee: | Giorgio Venturi (giorgio-venturi) → James Mulholland (jamesjosephmulholland) |
description: | updated |
Changed in ubuntu-ux: | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
try {
var req = new XMLHttpRequest();
req. onreadystatecha nge = function () { DONE) {
console. debug(" Debug: " + req.responseText)
if (req.readyState == XMLHttpRequest.
} else {}
};
req.open("GET", "https:/ /sb-ssl. google. com/safebrowsin g/api/lookup? client= api&apikey= ABQIAAAAXn2CrqC -zz0c0lI_ 8NfQbBQJyEjSvtj LID-f8- 9JQcCAZT- Bkg&appver= 1.0&pver= 3.0&url=" + requestedUrl);
req.send();
} catch (e) {
throw new Error("Unable to parse data.");
}