Fix issue with ShareExtension.js not executing on iOS
Returning undefined here fixes issues where pages would fail to scrape if there was no preview image available.
This commit is contained in:
@ -7,7 +7,7 @@ function iconURL() {
|
||||
|
||||
return document.querySelector("link[rel='apple-touch-icon'], link[rel='shortcut icon'], link[rel='icon']").href
|
||||
} catch {}
|
||||
return null
|
||||
return undefined
|
||||
}
|
||||
|
||||
ShareExtension.prototype = {
|
||||
|
||||
Reference in New Issue
Block a user