For Delphi 10.4, build a web browsing app for multiple platforms with FMX. I used WebBrowser. Wondering where the cached filed stored? How to clear these files or history, like chrome incognito function?
Related
I have a Classic ASP application that allows the user to upload a file which is then saved to a network location. The problem is that the current versions of Edge and Chrome have instituted security measures that now prevent the file upload to work correctly without using IE Mode (in Edge) or an extension (in Chrome) that bypass the modern browser security functionality. I am currently using the code as seen in How to upload files with asp-classic, which does work, but only if I bypass the security by using IE Mode or the Chrome extension.
I need to modify the ASP page in some way to allow for file uploads. I have found some mention of using ADODB Stream objects but I am not sure how this would be implemented or if it would solve my problem.
Any suggestions would be appreciated.
Safari bookmarks are synchronized into icloud if you request it in iOS. But I can't see a way to download them from there.
I have an iphone but a Windows or Linux laptop. I don't use Safari on my laptops. I'd like to be able to pull my bookmarks (or ideally my history) from safari on my iphone to my laptop. I don't need to import it directly into a browser. I'd rather just make an app to present the data.
I presume that somewhere, somehow, there is a url that I could just retrieve (with the necessary authentication of course) and it would be the XBEL (or whatever format it is these days) of my bookmarks.
I guess another option is for me to switch to a different browser on my iphone that does allow me access to the bookmarks and history from inside icloud?
I have a sapui5 app that I'm trying to test on mobile Safari using remote web inspector. Since it loads javascript files dynamically (uses MVC), it only lists these files under XHR. Apparently, because it's XHR, I can't add a breakpoint to these files.
Is there any way for me to debug this? Or force web inspector to load these files some place else? It seems a bit useless otherwise.
I have the latest version of iOS and Safari on my iPad.
I know this question has been asked previously but nobody answered it. So I'm hoping this one will gain a bit more traction.
Thanks!
Folks:
I'm creating an app using Node Webkit. The purpose of this app is to display images and pdfs. The app needs to download those files from a central repository, and cache them locally. When the app runs offline, the files should still be available, and displayed.
On the face of it, this sounds like appcache is the answer - and that indeed is where I was heading when this was a pure webapp in a browser. However, now I've discovered node-webkit, and here we are.
node-webkit's GitHub wiki states:
"However, application cache is designed for browser use, for apps using node-webkit, it's less useful than the other two method, read HTML5 Application Cache if you want to use it."
But doesn't say why.
I've also researched node.js filesystem - but that seems like a whole magnitude of complexity above what I need.
Can anyone point me in a sensible direction?
Thanks.
It has to do with the nature of App Cache itself.
You specify a manifest file that lists all the static assets required for your app to run offline. You don't have any programmatic access to the cache to add and remove files via JS.
So for a node-webkit app, it'd make more sense to fetch these files and store them in the Application Support folder (Or AppData, depending on the platform). That's where the node.js part is really useful, the file IO stuff.
I have a project that loads http://ajax.googleapis.com/ajax/libs/dojo/1.3.2/dojo/dojo.xd.js, I want to be able use this project offline
I tried to download dojo.xd.js and link to it locally but this still doesn't work offline
In firebug, on the net tab I can see that there are a lot more .js files that load
Is there a simple way of making this work offline?
The way of integration depends on your way of using it.
I assume you have webserver running locally (without inet access)?!
At the dojo website there are several ways of dojo integration available. Just download one of them (do not use CDN) and put the file on your local web server. Then it is available through the local url (can be relative to your site).
If you wan't to build an "offline" app without a webserver then take a look at Adobe AIR and interation of the dojo toolkit with Dojo Extensions for Adobe AIR.
Another option might be the integration together with PhoneGap or Cordova to build an offline App, e.g. for an IPhone etc. with HTML/Javascript. Win8/RT Applications for the M$ AppStore does support HTML/Javascript, too (have not tested this with Dojo).
Keep in mind there are also some security restrictions (e.g. loading and execution of JavaScript) if you plan to "release" your app as simple html file (click to open in browser).