Tôi có một ứng dụng html5 chạy trên một trang web, nó hoạt động tốt trong Safari, Opera và Chrome nhưng nó không hoạt động trên Firefox.HTML 5 Appcache hoạt động trong safari/opera/chrome nhưng không phải firefox
Tôi có sau trong mã của tôi:
<!DOCTYPE HTML>
<html manifest="./manifest.appcache">
<head>
và file manifest.appcache sau:
CACHE MANIFEST
/
/accessibility
/anchoring
/areas-of-application-in-business
/calibrating-rep-system-preferences
/circle-of-excellence
/collapse-anchors
/contrastive-analysis-and-mapping-across
/convincers
/creating-an-air-of-authority
/decision-making
/elicitation-of-submodalities
/embedded-commands
/embedded-commands-2
/eye-patterns
/four-types-of-feedback
/home
/how-to-remember-names
/introduction-to-anchoring
/introduction-to-nlp
/key-elements-of-the-meta-model
/language-and-communication-model
/language-patterns
/leadership
/modelling
/my-action-plan
/new-behaviour-generator
/nlp-presuppositions
/outcome-thinking
/pacing-and-leading
/perceptual-positions
/predicate-phrases
/predicates
/preference-test
/presupposition-cards
/presuppositions
/privacy
/rapport
/rapport-pacing-and-leading
/representational-systems
/sensory-acuity
/strategies
/structure-for-adjusting-feedback
/structure-of-nlp-techniques
/structure-vs-content
/submodalities
/submodalities-and-strategies
/submodalities-checklist
/terms-and-conditions
/the-6-deadly-words
/the-meta-mirror
/the-power-of-presuppositions
/the-problem-frame-and-the-outcome-frame
/user-profile
/well-formed-outcomes
/what-is-nlp
/userImages/nlp_language_comm.png
/css/mobile.css
/css/style.css
# Hash: a4e8f4f6a4dd45dd3e8acdaae8546a0a
Tôi đang sử dụng mã từ đây: http://jonathanstark.com/blog/2009/09/27/debugging-html-5-offline-application-cache/ để gỡ lỗi appcache và hiển thị đầu ra trên trang web.
Trong firefox, đầu ra từ mã gỡ lỗi cho biết nó tải xuống tất cả các tệp và bộ nhớ cache trao đổi gọi. Nếu sau đó tôi ngắt kết nối Internet và nhấp vào liên kết đến trang khác cần tải xuống, tôi nhận được thông báo Không thể kết nối trong Firefox, trong khi thực hiện tương tự trong Safari, Opera và Chrome, nó hoạt động tốt.
Mọi trợ giúp và đề xuất sẽ được đánh giá cao.
Cảm ơn Steve
Âm thanh như Firefox của bạn đã không đi vào chế độ ngoại tuyến, nó có thể nghĩ rằng bạn vẫn được kết nối với internet. Nhấp vào nút Firefox, chọn "Làm việc ngoại tuyến" trong menu phụ "Nhà phát triển web" để xem đó có phải là lý do không. –
Tôi vừa thử điều này và nó hiển thị trang lỗi chế độ ngoại tuyến. –