I am trying to build a chrome extension that creates and/or edits JSON files that can be accessed by or stored into the users computer. I just want to know if this is possible and if it is how to go about doing it or some resource or guide I can look at. If its not possible is there another way I could extract information and store it locally on the computer. This is my first time building a chrome extension so I am not really sure what the chrome extension limits are. I have tried to find an answer but up to this point I have not found one. This is also my first time asking a question on stackoverflow so if you could me tips/suggestion to better clarify or format my question better in the future that would be much appreciated. Thank you!
You should start by reading the chrome.fileSystem documentation and edit your question if something is not clear. https://developer.chrome.com/apps/fileSystem
Related
Im very sorry if Im wrong by posting this question here. Since you are programmers I think you are the best people to ask to, anyway.
While I was developing a web application and checking some things in the console I detected a file json.engine
If you have mcafee do you have it too?. It appears not only in the apps I develop but also when I use other web pages such as stackoverflow, facebook, google etc.
I found out that the id it has comes from Mcafee extension but I don't think yahoo is linked to Mcafee, so Can you see any malicious thing in the screen shot?
Thanks for your time, If there is a better place where I cold ask this question I'd appreciate if you could tell me where.
As far as I know this json is not doing somethig bad but I know that It could be sending data to some place for I don't know what purposes.
As you can see, this file appears in google as shown in the next screen shot:
It comes form an extension:
I found out that its a Mcafee extension but is it good?
These are search engines. Nothing more.
So I do not quite know if THIS website is the actual place to ask this question so please forgive me if it does not cooperate with question asking standards.
I am currently making a website with HTML and I am using Brackets as my editor. Now once I purchase a domain and I post my website and it is finally on the open web ready for commercial use, what if I need to change some information or add some pages?
Will I have to just open up the code using Brackets, edit it, and somehow replace it in the place where I put it in the first place? Or is there some sort of program that I can use that can update this?
I am just asking for suggestions. Thank you.
This is a very broad question and will likely be removed, however I'll point you in the right direction.
The exact steps to update your website will depend on your web host and the server you have set up, but in general you want an FTP/SFTP client that will connect to your server and let you upload files (I recommend Filezilla). All you do is connect to the IP address of your website and log in, then upload the new versions of the files to your website. It may take a few minutes to propagate and you may have to refresh the page, however that's all there is to it. For further help, just Google a tutorial on Filezilla.
I hope you can help me.
I am writing a desktop program that will run in a web browser (in HTML/CSS/javascript in case that wasn't clear). It will be entirely disconnected from the internet and obtain files and data using only FILE protocol. My question is: how can you obtain a listing of the contents of a directory referenced this way?
I've been searching for months and really turned up almost nothing! Maybe I just don't know how to search but there doesn't seem to be much information about how browsers actually deal with File protocol.
For example, when you open a directory in Chrome, it gives you a nice table with hyperlinks of all the parent directory's children. However, when you look at the source code, it's as if Chrome just magically knew exactly what files were in the directory. I feel that if I could understand how it knew that, maybe I'd be able to get somewhere...
Also, I am open to other ideas about how to get a directory listing. I've read about being able to do it with php but it requires running a server. Does anyone know if it is possible to run php code with File protocol rather than HTTP?
Thanks for reading this far and truely any information that could remove me from this standstill is appreciated!
Web Apps do not have access to the user's file system so you will not be able to do what the chrome file browser does with a web app. I believe chrome is using some sort of native code to do this.
I would recommend trying something a little more on the native-side. A chrome app will let you use html, css, javascript while also allowing you access to the file system. https://developer.chrome.com/apps/app_storage#filesystem
Another alternative is you could write some sort of native java application. That would allow you to read/write all the files you want.
I have an app with a support form that a customer can use to submit new issues. One of the things that's been requested is to search their public wiki and automatically create suggestions based upon it (very similar to what SO does). Since the page in question is outside of MediaWiki itself, I'm unsure about how to move forward.
My question is twofold:
Is there an out of the box extension to do this sort of thing?
If not, how would you recommend I go about doing it? I've never written a MediaWiki extension, but for the experienced among you, what approach would you take?
I don't know if something like that already exists. But if I had to do it from scratch, I would definitely go on using the mediawiki API. Example here:
Show a list of 10 pages that contain the word MYSEARCHTEXTGOESHERE
http://mywiki.org/wiki/api.php?action=query&list=search&srsearch=MYSEARCHTEXTGOESHERE&srprop=timestamp
It wouldn't be an extension in the wiki, but rather a GET call to the wiki server from your app.
I have an HTML5 site. I want to do following thing:
Walk through files in a folder
Find all images
Get exif file from images
Analyze an exifs (on server)
Correct bad exifs
This is a best scenario, that it can be. I am conscious that 1st and 2second step is possibly done only by selecting this files by user. And 5th step is possible only when the analysis will be done at user's machine. So what is the best way to do it (to get closer as much to the optimal scenario)? What should I use without need to force a user to install anything?
EDIT:
At least I have used free GeckoFX web browser as a basic desktop app. Interface is created in HTML+JS Thx all
You would need to create an application that runs on the computer of the user. You can't create an HTML5 site that does this.
A Chrome HTML5 webapp should be able to do this.
I'm actually looking at this in these days.
Here is a NOT WORKING example ( due to old API specs, I think)
http://benno.id.au/blog/2009/12/30/html5-fileapi-jpegmeta
But should at least give some good insights.
You should use ExifTool.
It is available as a Perl library here:
http://www.sno.phy.queensu.ca/~phil/exiftool/ExifTool.html
And also as a command-line tool which can be ran by the server (same site).