Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Safari.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ While using the IMAGE browser extension on Safari, please be aware of the follow

- The extension does not produce any sound when an IMAGE request is sent.
- The feedback link is missing when an IMAGE result is received for maps and charts.
- On the Feedback page, selecting "(Optional) I consent to the IMAGE project saving this request and the responses associated with it under the conditions described above" may cause the "open form" button to not work as intended.
- Connecting haptic devices is not supported.
- iOS only: The extension will become unresponsive and require a manual restart everytime Safari is restarted.

Expand Down
9 changes: 5 additions & 4 deletions src/feedback/feedback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,20 @@ formButton?.addEventListener("click", () => {
console.error(err);
alert(browser.i18n.getMessage("saveDataUnknownError"));
}).then(() => {
// Navigate current window for iOS compatibility
if (lang === 'fr') {
window.open("https://docs.google.com/forms/d/e/1FAIpQLSd3R9pit99xe2ZQUdavidKjJsvD0220tITGJ3LuEewuYcCIVQ/viewform?usp=pp_url&entry.1541900668=" + request_uuid);
window.location.href = "https://docs.google.com/forms/d/e/1FAIpQLSd3R9pit99xe2ZQUdavidKjJsvD0220tITGJ3LuEewuYcCIVQ/viewform?usp=pp_url&entry.1541900668=" + request_uuid;
}
else {
window.open("https://docs.google.com/forms/d/e/1FAIpQLSdZJH8xi_cUQK8MdR3cty1wZVB08WLGozzdKmRZqG-2q9zRaA/viewform?usp=pp_url&entry.1541900668=" + request_uuid);
window.location.href = "https://docs.google.com/forms/d/e/1FAIpQLSdZJH8xi_cUQK8MdR3cty1wZVB08WLGozzdKmRZqG-2q9zRaA/viewform?usp=pp_url&entry.1541900668=" + request_uuid;
}
});
} else {
if (lang === 'fr') {
window.open("https://docs.google.com/forms/d/e/1FAIpQLSd3R9pit99xe2ZQUdavidKjJsvD0220tITGJ3LuEewuYcCIVQ/viewform?usp=pp_url");
window.location.href = "https://docs.google.com/forms/d/e/1FAIpQLSd3R9pit99xe2ZQUdavidKjJsvD0220tITGJ3LuEewuYcCIVQ/viewform?usp=pp_url";
}
else {
window.open("https://docs.google.com/forms/d/e/1FAIpQLSdZJH8xi_cUQK8MdR3cty1wZVB08WLGozzdKmRZqG-2q9zRaA/viewform?usp=pp_url");
window.location.href = "https://docs.google.com/forms/d/e/1FAIpQLSdZJH8xi_cUQK8MdR3cty1wZVB08WLGozzdKmRZqG-2q9zRaA/viewform?usp=pp_url";
}
}
});