Comments (7)
Safari has long had bugs with appcache. In my case, I have not been able to get Safari to load ANY external resources when offline. In fact I have considered just using local storage to cache all external resources and making it work with some in-line javascript in the HTML file.
from svg4everybody.
@Naman34 you might want to check out sites like http://appcache.offline.technology/ external CSS and JS certainly works in my case.
from svg4everybody.
How might the library handle this for you?
from svg4everybody.
@jonathantneal I haven't been checking it for a while. Maybe iOS 8+ has fixed it. But my method is to check !navigator.onLine
and webkit UA, then do the same thing you would do with IE.
from svg4everybody.
This appcache bug has indeed been fixed since.
from svg4everybody.
I am ok to close this then.
@jonathantneal do you think it's a good idea to expose this module as a function and make the matching regex replaceable? That way anyone with specific need to polyfill a browser can do so themselves. Since I believe the technique used in this polyfill works on any browser that support svg fragment identifier.
from svg4everybody.
I’ve added the option:
svg4everybody({
shim: true, // force shimming of SVG
shimExternalContent: true // force shimming of SVG External Content
});
from svg4everybody.
Related Issues (20)
- Not working for MS Edge HOT 3
- can't make href work using svg4everybody HOT 1
- svg4everybody is not defined
- Add workaround for SVG print bug in Firefox
- svg-chrom HOT 1
- SVG transform animateTransform not working in IE11 and Edge 42
- linearGradient for svg4everybody HOT 2
- run the polyfill only on selected dom element and its children
- Validate Not Running After Page Start
- Inlining External SVG
- Inlining External SVG from sprite, SVG doesn't display correctly HOT 3
- PreserveAspectRatio attribute is stripped out on IE11
- Add option to always replace contents ignoring browser support HOT 2
- Empty XHR embeds after splice(0)
- import does not seem to work properly
- Generate png from svg
- Svg4everybody not working on all svgs in IE11 HOT 2
- Suggestion: Suggest loading the script with the nomodule attribute HOT 2
- Issue with iPhone5 / Safari6
- Link to kartikprabhu.com "Inline SVG Icons" is broken; Archive.org link provided
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svg4everybody.