Enable HTML5 AppCache using javascript? -


<html manifest="example.appcache"> 

can add manifest="example.appcache" part using javascript?

no can't because html file sent server further changes manifest attribute won't make browser react it. tried :

document.documentelement.manifest = "site.manifest"; 

and loading pages , without internet, in seconde case says "connection error" obviously


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

javascript - Preserving URL fragment through CAS sign-on -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -