130 questions
0
votes
0
answers
87
views
Create website that uses ES modules yet can be saved locally
Is it possible to create a single-page website hosted on static hosting (no custom headers etc.) that uses ES modules in external .js files and still can be saved as "Website, complete" in ...
0
votes
1
answer
125
views
How to avoid CORS issues when creating an Offline Website? [closed]
For the purposes of authoring HTML content that is intended to be viewed offline, for example:
when distributed on a USB thumb drive as documentation accompanying a physical product
as promotional ...
0
votes
0
answers
78
views
How can I make my website available offline through a Firefox extension?
I have a website that I write code for just to try out new things I learn about in web dev. I also want to get into Firefox extension creation, which I've already somewhat started with.
I know that ...
65
votes
6
answers
39k
views
How do I download MDN JavaScript documentation for offline use? [closed]
I am trying to make MDN's Javascript Reference available for offline browsing (personal use). To spare me from running some sort of web crawler program or saving individual pages to create a local ...
241
votes
1
answer
253k
views
Download a working local copy of a webpage [closed]
I would like to download a local copy of a web page and get all of the css, images, javascript, etc.
In previous discussions (e.g. here and here, both of which are more than two years old), two ...
80
votes
6
answers
106k
views
Does Chrome have a "Work Offline" option?
I'm trying to test out my fallback page in my html5 cache manifest. I'd rather not have to actually disconnect from the internet in order to do it. I've heard that it doesn't work quite right in ...
5
votes
4
answers
13k
views
Flutter Making an Image.file() image into an ImageProvider() for zoomable photos
I've created an app that downloads a bunch of information for off-line use, much of which are photos. In the app, I'd like to use a widget that allows me to have a pan/zoom effect, but the ones I've ...
0
votes
1
answer
949
views
How do I deactivate the internet entirely with Firefox's developer tools?
I'm developing in Firefox and was asked today to test connectivity drops. How do I simulate this from the developer tools? All I can see in the network tab is speed throttling, ranging from GPRS to ...
13
votes
5
answers
13k
views
Vuetify Offline Docs
I have started using Vuetify to add ui-components and use pre-defined layouts. The problem is that I have to look into online-docs every now and then, and requires me to be connected to internet ...
6
votes
2
answers
11k
views
How to make my single-HTML web page available offline in Chrome?
I'm hosting a single-HTML web page (all design elements included in the .html file itself) on my webserver, and I'd like to make it available for my users when they are offline. It should work like ...
0
votes
1
answer
683
views
How can I grab this website content without losing javascript content
I want to download this website
Abd i tried idm and httrack but didn't work for javascript content
http://websdr.uk:8074/
Anyone can help me to download this frequency streaming content,
Thank you
2
votes
1
answer
589
views
Service Worker Strategy for Cached First Scenario - Preloading Screen
I'm currently working on a small web app which should implement a cached first scenario (users download the wep app in a wifi provided base and then should be able use it offline outside)
I'm not ...
2
votes
1
answer
969
views
Offline PWA not behaving as expected on phones. Asks for connectivity despite caching all relevant files
I am trying to make an offline PWA planner targeted to phones and I have no need at all for user data or interaction with my home page after installation.
Everything works fine on my PC and Lighthouse ...
3
votes
4
answers
5k
views
Download a working local copy of a webpage as a single html file
I followed the instructions provided in this previous post. I am able to download a working local copy of the webpage (e.g. wget -p -k https://shapeshed.com/unix-wget/) but I would like to integrate ...
27
votes
3
answers
14k
views
iOS: Did Apple disable HTML5 offline capability for web apps saved to the home screen?
I've been doing lots of work in getting a few web apps to work offline on iOS using the HTML5 manifest. I've ran across the typical problems everyone else has and fixed them and everything seems to be ...
6
votes
3
answers
3k
views
How to detect if browser is offline in 2018?
There used to exist offline.js for detection of a connection, but that project is no longer maintained. Also, the browser's 'navigator.onLine' property is notoriously unreliable.
What is the best/...
3
votes
1
answer
6k
views
How can I make "Service Worker" work in local network?
I am building app with Angular 6 and I want this app to work offline and I am using Angular 6 with Service Worker and I want to host this app in local server with IIS but I do not have HTTPS cert.
...
20
votes
7
answers
10k
views
Once an HTML document has a manifest (cache.manifest), how can you remove it?
It seems that once you have a manifest entry, a la:
<html manifest="cache.manifest">
Then that page (the master entry in the cache) will always be cached (at least by Safari) until the user ...
4
votes
0
answers
744
views
Download complex 3D JS/Canvas webpage for offline
I'm attempting to download a truly offline version of this interactive 3D model of a home, as seen on this webpage: https://my.matterport.com/show/?m=bDbFD5mSEb5&play=1&lang=en
Because it ...
3
votes
2
answers
898
views
ODM/ORM for PouchDB in JavaScript
I'm interested in using PouchDB for a offline-first mobile application (Cordova) and I'm wondering if there is any leightweight ORM/ODM for PouchDB written in JavaScript. Couldn't find one.
Is PouchDB ...
5
votes
1
answer
2k
views
ServiceWorker handling fetch events to URLs outside scope
My site registers a ServiceWorker which is scoped to only URLs beginning with /sw/....
/**
* Register the Service Worker.
*/
if ('serviceWorker' in navigator) {
navigator.serviceWorker
...
7
votes
3
answers
6k
views
How can one download Mozilla's developer's documentation for offline reading?
Until recently, one could conveniently download Mozilla's developer's documentation, developer.mozilla.org.tar.gz, for offline reading. However, Mozilla seems to have upgraded the documentation to a ...
15
votes
3
answers
8k
views
Is there a way to use a CDN (for jQuery) and have an offline Web app (via HTML5 manifests)?
I'm beginning to look at HTML5s ability to allow for offline Web applications.
A while back I found that using a CDN worked well for my applications, so I've been sticking with them, mostly just for ...
-3
votes
2
answers
439
views
Social Media Icons disappeared on my Online Website while they appeared on my offline website [closed]
Social Media Icons disappeared on my Online Website while they appeared on my offline website:
Icons appear in yellow circles in my Offline Website
Icons disappear in yellow circles in my Online ...
1
vote
0
answers
299
views
indexedDB create multiple ObjectStore simultaneously
In my case, I am creating an offline web app. And want to store the API response in the IndexDB.
In a particular page, I have three to four APIs hitting the server, and I want to store all of the ...
0
votes
2
answers
584
views
Javascript database on browser hard-drive
Background:
We're writing an HTML5 offline first application for Chrome Browsers.
We are targeting specifically Chrome Browsers, and we don't want to make an extension to serve the functionality of ...
7
votes
3
answers
14k
views
Offline apps with Node.JS and CouchDB
I have an app that I would like to create. But I am not sure how to go about it. I am using node.js and would like to use couchdb, but if something like mongodb or riak would be a better choice them ...
14
votes
3
answers
4k
views
Is it OK to include external files in cache-manifest?
I'm building an offline web application and want to use cache-manifest. Currently my cache-manifest looks like this:
CACHE MANIFEST
# Change the version number below each time we update a resource.
# ...
13
votes
1
answer
6k
views
Strategies to make a web application available offline?
We're currently building a web app (Django, Ember), and we just found that most of our potential customers require sporadic offline access to the application.
What we need is not just "presenting" ...
2
votes
2
answers
2k
views
Does Meteor-JS support offline storage/cache?
Does Meteor-JS support offline storage/cache?
From what I'm reading: https://guide.meteor.com/collections.html :
Instead, on the client, a collection is a client side cache of the
database. This ...
0
votes
0
answers
277
views
Viewing websites offline - how to get around unneeded ajax and jquery manipulation?
I am trying to view a webpage offline. The page is profoundly simple. It has a javascript video player that is interacting with an HTML5 video element. The video element specifies a url for a video. ...
1
vote
0
answers
2k
views
save web page for offline usage, including ALL resources (loading in js)
So the goal is - I have a web page, and I want to embed it in a webview in an android app, but I need this page working offline. So I came to a solution to save the whole page with all files, I tried ...
11
votes
2
answers
8k
views
Can the new HTML5 manifest.cache file contain paths to directories?
When utilizing the HTML5 ability to specify if/how files are cached (in the manifest.cache file), are specifying entire directories possible? Can I place a path to my images directory under the CACHE: ...
0
votes
1
answer
71
views
How does the JavaScript ofline serviceworker example work?
The page at
https://googlechrome.github.io/samples/service-worker/basic/
has all the script you need for getting started with modern offline web pages. I spent many fruitless hours researching the ...
0
votes
0
answers
863
views
Selenium Webdriver--- Switch off the browser connection during test
I would like to know if it is possible to switch off browser connection during the test or is the webdriver can interact with browser console? Take chrome as an example, can I open the console during ...
0
votes
1
answer
259
views
How to save a webpage offline that is rendered with ember-cli-fastboot?
I am trying to save a webpage for offline viewing but not exactly having luck.
The page is fairly intricate, as it involves javascript audio and video players, HTML embedded media.
On top of that, ...
14
votes
4
answers
6k
views
How to sync offline HTML5 webdatabase with centralised database
I'd like to be able to do the following in a HTML5 (iPad) web app:
upload data to an online database (which would be probably <50Mb in size if I was to build the online database in something like ...
0
votes
1
answer
374
views
Browser storage IndexedDB can be used for storing static files like css and some js file?
I want to made offline first web application.
If a network is not available then data and css files should be load from indexedDB.
I may be wrong or this requirement look like weird but want to know ...
3
votes
2
answers
1k
views
iOS 7.1.1 Safari browser messing up with online/offline status
I have a cross browser online/offline test for a webpage designed to work on multiple browsers.
It works with the free indicators :
event listener on window
event listener on document.body
polling of ...
3
votes
1
answer
398
views
Which is better to make a web application offline -application cache or service worker?
I want to make my web application available even if network is not preset or when user is offline.
I searched about this and find two solution:
1) use Application cache
2) use Service worker
As ...
1
vote
1
answer
4k
views
Firefox is currently in offline mode and can't browse the Web - Offline App Test
For testing purpose I tried to switch to offline mode (File > Work offline), and upon refresh, it showed "Firefox is currently in offline mode and can't browse the Web."
When I clicked "Try Again" it ...
1
vote
0
answers
2k
views
symfony2 on/offline web application
Im looking for the best way to build an on/offline application with symfony2. I need some advice here:
Users can access the application from navigator on their computer or from tablet (like iPad)
When ...
0
votes
2
answers
2k
views
How to dynamically change href attribute
I'm trying to make a little website browsable both online and offline using only html, css and a little of jquery\javascript.
Hence I'm using all relative paths and everything works fine unless I came ...
-1
votes
2
answers
8k
views
How to run Java project
A friend of mine once gave me a Java project on offline browser. It contains all class file as well as Java sources but I don't know how to run it or how can I check how it works . It doesn't ...
4
votes
0
answers
1k
views
Chrome vs Firefox XHR request differences
While playing with XHR requests I found interesting thing in making XHR requests from 2 major browsers - Google's Chrome and Mozilla's Firefox.
Request was simple HEAD request to www.google.ba:
var ...
2
votes
1
answer
990
views
Angular2 online / offline event
Is there a native Angular2 event to notify when the application loses / regains network connectivity?
Or a wrapper for window.navigator.online / offlinejs?
4
votes
1
answer
2k
views
Browser loads assets twice after a dynamically added base html tag
To handle relative paths in a website I use a <base> tag added in the <head> of every page.
All the resources loaded through a relative-like path in the documents are properly fetched and ...
0
votes
1
answer
493
views
Infinite scrolling doesn't work offline
I am trying to learn jQuery and particularly jScroll from real examples. I found this website that might look silly to you but it's dead simple so it's a great example of jScroll work for me.
The ...
3
votes
2
answers
1k
views
How to cache every call made for an offline web experience [closed]
I'm going up to the mountains with no internet connection to present something. I'd like to be able to use interactive examples since I'll be presenting on a certain website.
So is there a way I can ...
1
vote
2
answers
1k
views
Internet Explorer and Firefox do not stay in offline mode when localhost
Localhost.
IE10 / Firefox 24
I am testing some caching options in my application and want to set Internet Explorer and Firefox in Work Offline mode. The browsers work fine for cached pages but ...