How to build visualizations as chrome app - google-chrome

I am very much impressed by the way this app was build , https://chrome.google.com/webstore/detail/visual-history/emnpecigdjglcgfabfnmlphhgfdifaan
I wonder if SAP Lumira was involved in this application, for the live visualitations to work fine. but i am not sure of how it was developed as an app as it can only export as png files and the data can only be from flat files and hana database. Any help to analyse the nature of this application is appreciated.

I think your question is not stated correctly: it's like asking "how to build visualizations for the web" (in other words, it's too broad and it's not specific to Chrome apps). I think what you want is a way to analyze the source of an app. What you can always do for that is:
After installing the app you're interested in, visit chrome://extensions.
Turn on the Developer mode (a check box in the upper-right corner).
Find the app in the list and note down its app ID.
Go to Chrome settings directory, e.g. ~/.config/google-chrome for Linux - the location will depend on the OS and the Chrome channel that you're using.
Find the app's installation directory, which will look something like <Chrome settings directory from #4>/Profile N/Extensions/<app ID>/<app version>.
You will see the entire app's source there.
Specifically for this app, you can see in the sources that it uses something called JavaScript Graph framework (see /canvas.js) together with D3.js (see /protovis-3.2/).

Related

Delete Site Data through command line in Google Chrome?

Even after searching on Google a lot I am not able to find the solution to my problem. I am looking for an alternative to the following button through command line which delete service worker, cache and all other stored data for a specific website or web application.
In Google Chrome Dev Tools --> Goto Application --> Clear storage --> Clear Site Data
Are there any specific file/folder in this location to delete? Or just simply, using a switch with some parameters while opening Chrome can do this?
I already visited this link but it suggests to clear all the data instead for a specific website.
http://stackoverflow.com/questions/12621969/clear-cache-of-browser-by-command-line
Kindly show me the path !!
DevTools functions aren't available through the command line. These are features for developers to test applications with and develop them further. They aren't for automating tasks external to development purposes.

link to a file on windows shared drive from an iPhone

I want to send an HTML email with link in them. The link should open files from a windows shared drive. The users will already be logged in to the network via VPN.
I've tried
Test Report
This works fine when opening on a PC but I can't figure how to open this in an iPhone although the users accessing the network thru a VPN client on their phone.
I'm open to use any third party solution
This link is for IPADs, but it should work with Iphone as well:
https://discussions.apple.com/thread/3978480?tstart=0
According to Apple's forum, you need to use some sort of third party software to access files, like filebrowser (link in the forum page). Personally, I use filebrowser and it works fine for me. It works kind of like WinSCP for windows. It pulls data from a Server (your vpn) and allows you to download and modify on your phone. It is cross platform compatible, so it is great if you have multiple devices. I have heard that FileExplorer Pro is exceptional, but I have not tried it. Here is the link to fileexplorer on the app store:
https://itunes.apple.com/us/app/fileexplorer-pro/id499470113?mt=8
EDIT:
As far as I know, this is not possible from any mobile device. Best bet is to send the file through a secure email, such as ProtonMail.
iOS is less flexible when it comes to file management and file associations, so there’s less you can do with these files. However, you can still open a video file directly from your shared folder and play it on your device or access other media files in a similar way. You could also use the “Open In” feature to open a file in a specific app.
The Windows network file sharing protocol is known as CIFS, which is an implementation of the SMB protocol.
this guide may help you. this is not exact answer about what you want though. https://www.guidingtech.com/27119/access-shared-windows-iphone-ios-wifi/

Google Chrome --new-window switch ignores --window-position and --window-size

I'm trying to control the size and position of newly spawned Google Chrome windows via the command line (through C#.)
My command line ends up looking like:
--new-window --window-position=100,100 --window-size=800,600 www.UrlToOpen.com
However, the new window just opens over top of where the last Chrome window was started.
The end result I'm looking for is to be able to start multiple instances of Google Chrome, in separate windows, with a specific location and size. The only way I've been able to do this so far is by specifying that each instance is to have it's own --user-data-dir. However, this is not ideal given how many extensions a user may have installed, and it would not be the best user experience.
Does anyone have any suggestions?
If Chrome is not programmed to allow this, you only have one option.
Create the process and keep the process object.
Use Process.MainWindowHandle to get the newly created window (you might need to use a loop and Process.Refresh, or Process.WaitForInputIdle)
Use the SetWindowPos native function to position the window wherever you want it.
Native hooks could be used to detect creation of the window, but that requires you to create an unmanaged DLL.
I have another idea for you, why not use a chrome extension for handling the positioning.
Background: We had related difficulties. Internal webapp that opens multiple documents in windows, and need to be placed in other monitors.
The javascript does not support this, for security reasons and only a native extension can properly work with the tabs/windows objects.
Therefore, we have created an open source chrome extension for doing exactly that: flexible windows position across multi-monitor setups.
Perhaps more interest to you would be the feature to use predefine templates. The template file is located in any webserver you like and therefore can be easily share across different users.
The chrome extension is called "MultiWindow Positioner" and its complete free. You can get it at the chrome store here
The actual source code you find in github in the project chrome-multiwindow-positioner
Disclaimer: I am the maintainer of the open source (MIT) github project. If there any interesting idea, or comments feel free to share them here.

How Do I implement chrome like binary autoupdating on my application?

I have created small binary app and I would like it to autoupdate completely automatically, how do I do that ?
Its a huge app and I do not want to download-and-unzip the whole folder like I am doing right now, but I would like to do it binary+diff update.
Thanks.
Google has open-sourced its auto updater for Windows. It's called Omaha and hosted on Google code here.

Can I copy my Open Graph configuration between apps?

Is there any way to export you open graph settings, or copy them between apps?
We have domain names that we used to deploy our code to before it goes into production.
http://dev-mysite.blah.com
http://int-mysite.blah.com
http://preprod-mysite.blah.com
http://mysite.blah.com
We have setup facebook apps for each of these domain names. And now I need to configure each of these apps to have Open Graph actions and objects. It seems like a pretty common scenario so what do you do?
No, currently you have to do this manually.
However, you can rationalise it down to two app ids - one for production, and the other for all pre-prod and dev environments. This should cut down the work.