René's URL Explorer Experiment


Title: doesn't work with jpeg datauri on iOS 9 · Issue #130 · blueimp/JavaScript-Load-Image · GitHub

Open Graph Title: doesn't work with jpeg datauri on iOS 9 · Issue #130 · blueimp/JavaScript-Load-Image

X Title: doesn't work with jpeg datauri on iOS 9 · Issue #130 · blueimp/JavaScript-Load-Image

Description: const imgUrl = `data:image/jpg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBYRXhpZgAATU0AKgAAAAgAAgESAAMAAAABAAEAAIdpAAQAAAABAAAAJgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAA7aADAAQAAAABAAAAcAAAAAD/7QA4UGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAA4QklNBCUAAAA...

Open Graph Description: const imgUrl = `data:image/jpg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBYRXhpZgAATU0AKgAAAAgAAgESAAMAAAABAAEAAIdpAAQAAAABAAAAJgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAA7aADAAQAAAABAAAAcAAAAAD/7QA4UGhvdG9...

X Description: const imgUrl = `data:image/jpg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBYRXhpZgAATU0AKgAAAAgAAgESAAMAAAABAAEAAIdpAAQAAAABAAAAJgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAA7aADAAQAAAABAAAAcAAAAAD/7QA4UGhvdG9...

Opengraph URL: https://github.com/blueimp/JavaScript-Load-Image/issues/130

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"doesn't work with  jpeg datauri on iOS 9","articleBody":"```js\r\nconst imgUrl = `data:image/jpg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBYRXhpZgAATU0AKgAAAAgAAgESAAMAAAABAAEAAIdpAAQAAAABAAAAJgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAA7aADAAQAAAABAAAAcAAAAAD/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DRNs+6vrkZ69qgNjEX8w6febsbc+dzj0zv6UAak8jTanpMrlSWWUkpnacoOmecVW1FgviAE3Ys/8ARR8528/OePm4qK2jkXU7CNLWaGOLzjmVt/3kx1ycdK6SXTbSe7+2zIHfZ5eGAIxnPQjrQByEbj+2JT/ayj9yv7393zyfl9OPzrU0Y7tXuyLkXX7uP94Nv+1x8vHFNubaCx1Zrh7IywSQhR5UYfawJzkD1HepkvS08MOl2ckG+Qeazw7F2DOefX0oAhjs3t/EsdxM5kknSU+wUEBVA9h+tU9RitJL6V2WxJ3cmSdlbjjkDgGt24Rzr1q4B2iGQE44GStY9qs0c95nTftO65kIc7Bwcf3uf6UAT6HHbRXbGMWgJQj9xKXbqOx7e9dZXJ2yytrcEhsjaKIpAcbSDnHdf611lAGfdWcZc38MKPdIhEZb9Oa5J7PW5lFxq2qCxL/dQHbj24ZR+prva5rXvDsOsFJkby5VwC3UFc9Meo7UAVrC212K4W1u5I76ylU5dsHj+Zz+I966a2toLOFbe2QJGvQCmWVlBp9slpbDCIO/U+pPuat0AFFFFAH/0fQ6KKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA//9L0OiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKAP//T9DooooAKKKM45NABnHJrEuLuW5lFvZnvyw/z0pLq6ku5PstryD1Pr/8AWrStbVLVNo5Y9TQBYUMFAc5OOTTqKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA//1PQ6KKKACobiIzwtEGK57ipqKAMCylFlM1vcKFyfvf57Vv1Uu7RLpMHhh0NULO7eB/sl1xjgE9v/AK1AG1RRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFAH//1fQ6KKKACiiigAqpdWcd0Bu4I7j0q3RQA1VCKEHQDFOoooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigD//2Q==`\r\n\r\nloadImage(imgUrl,img =\u003e {\r\n    document.body.appendChild(img);\r\n  },\r\n  {\r\n    maxWidth: 750,\r\n    orientation: true,\r\n    canvas: true\r\n  })\r\n```\r\n\r\nthe code above will throw a network error on iOS 9\r\n\r\n```\r\nXMLHttpRequest Exception 101: A network error occurred in synchronous requests\r\n```\r\nmy temporary solution is replacing `loadImage.fetchBlob` with the function below\r\n\r\n```js\r\nloadImage.fetchBlob = function (url, callback, options) {\r\n  function executor(resolve, reject) {\r\n    var img = new Image();\r\n    img.src = url;\r\n    img.onload = function () {\r\n      var c = document.createElement('canvas');\r\n      c.width = img.width;\r\n      c.height = img.height;\r\n      var ctx = c.getContext('2d');\r\n      ctx.drawImage(img, 0, 0);\r\n      c.toBlob(bin =\u003e {\r\n        resolve(bin);\r\n      });\r\n    };\r\n    img.onerror = function() {\r\n      reject(Error('load image fail'))\r\n    }\r\n  }\r\n  if (global.Promise \u0026\u0026 typeof callback !== 'function') {\r\n    options = callback; // eslint-disable-line no-param-reassign\r\n    return new Promise(executor);\r\n  }\r\n  return executor(callback, callback);\r\n};\r\n```\r\n","author":{"url":"https://github.com/littlee","@type":"Person","name":"littlee"},"datePublished":"2021-02-03T05:36:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/130/JavaScript-Load-Image/issues/130"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:da87435f-c00e-52ac-35e7-a6099fb8dd92
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB8FC:1298D8:28699D5:367CF04:69704B99
html-safe-nonce7877e0f5b74958e40392992692d5e8d970954cfacd61c328af7f45cc528f1906
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEZDOjEyOThEODoyODY5OUQ1OjM2N0NGMDQ6Njk3MDRCOTkiLCJ2aXNpdG9yX2lkIjoiNTA2MzI5MzMxMDE1NTYzOTcwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfcd896577eef3664a4e9cb530f55993156a4b3b227f6b8bbc868953cfe7204d0
hovercard-subject-tagissue:799989115
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/blueimp/JavaScript-Load-Image/130/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1e2e1096ad86554002656e55d7d212fae170eed740d78d3146180f6737dfa513/blueimp/JavaScript-Load-Image/issues/130
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1e2e1096ad86554002656e55d7d212fae170eed740d78d3146180f6737dfa513/blueimp/JavaScript-Load-Image/issues/130
og:image:altconst imgUrl = `data:image/jpg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBYRXhpZgAATU0AKgAAAAgAAgESAAMAAAABAAEAAIdpAAQAAAABAAAAJgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAA7aADAAQAAAABAAAAcAAAAAD/7QA4UGhvdG9...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelittlee
hostnamegithub.com
expected-hostnamegithub.com
None9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2
turbo-cache-controlno-preview
go-importgithub.com/blueimp/JavaScript-Load-Image git https://github.com/blueimp/JavaScript-Load-Image.git
octolytics-dimension-user_id244586
octolytics-dimension-user_loginblueimp
octolytics-dimension-repository_id2967938
octolytics-dimension-repository_nwoblueimp/JavaScript-Load-Image
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id2967938
octolytics-dimension-repository_network_root_nwoblueimp/JavaScript-Load-Image
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef643964067a552f02067066d6a910b2f90a5721f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image/issues/130#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fblueimp%2FJavaScript-Load-Image%2Fissues%2F130
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fblueimp%2FJavaScript-Load-Image%2Fissues%2F130
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=blueimp%2FJavaScript-Load-Image
Reloadhttps://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image/issues/130
Reloadhttps://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image/issues/130
Reloadhttps://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image/issues/130
blueimp https://patch-diff.githubusercontent.com/blueimp
JavaScript-Load-Imagehttps://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image
Please reload this pagehttps://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image/issues/130
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fblueimp%2FJavaScript-Load-Image
Fork 923 https://patch-diff.githubusercontent.com/login?return_to=%2Fblueimp%2FJavaScript-Load-Image
Star 4.5k https://patch-diff.githubusercontent.com/login?return_to=%2Fblueimp%2FJavaScript-Load-Image
Code https://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image
Issues 16 https://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image/issues
Pull requests 0 https://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image/pulls
Actions https://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image/actions
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image/security
Please reload this pagehttps://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image/issues/130
Insights https://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image/pulse
Code https://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image
Issues https://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image/issues
Pull requests https://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image/pulls
Actions https://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image/actions
Security https://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image/security
Insights https://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/blueimp/JavaScript-Load-Image/issues/130
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/blueimp/JavaScript-Load-Image/issues/130
doesn't work with jpeg datauri on iOS 9https://patch-diff.githubusercontent.com/blueimp/JavaScript-Load-Image/issues/130#top
https://github.com/littlee
https://github.com/littlee
littleehttps://github.com/littlee
on Feb 3, 2021https://github.com/blueimp/JavaScript-Load-Image/issues/130#issue-799989115
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.