Embed browsers components - browser

Is there an application that lets you pack it with a bunch of html files and it will render them? Basically, I want an app that all it does is that it has an embedded browser, and I can pack it with my files. Is there such thing?
It would be nice if it was cross-platform or offered additional APIs.
My end goal is I wanna build an app that produces html and then compiles it and gives it to the user.
One solution is to use Opera Widgets, my app can build the html files, and then pack it as a desktop widget. But that requires user to have Opera installed. It would be nice if there was an embedded browser solution.

Try Adobe Air. It is basically a JS-heavy application packed in a platfrom-independent package. Also includes a WebKit-compatible browser.
May be less or more than what you need.

Related

Electron Nodejs - I need to make a pdf viewer embedded in the web content

I'm making an application to sign pdf's and I need to make the pdf of it can be seen in the web container, that only the first page can be seen, that it can not be navigated, that it does not have a tool bar, that it can not be zoomed, only one preview of it. I could do this with the version of Electron 1.8.8, with the later versions it is not possible, because it makes me a download of the pdf, I need electronic features of newer versions. some have an idea how to do to see the pdf as in the example image.
Example with Electron 1.8.8

Detect Google Polymer browser compatibility

I am writing a project using polymer. Right now, if a browser doesn't support it most of the page is just blank. Is there a way to quickly if the users browser supports polymer and if not, prompt them to use a modern browser?
You can use the page http://caniuse.com/ and ask for the technology that is being used in the framework you want to implement, Shadow dom and Custom elements in this case I think that are the main things that polymer uses and that don't allow this framework to be used all over the place in any browser

Do I need to create both an extension & packaged app if I want chrome.socket and Context Menus?

I am developing a chrome extension/app that requires
communicate with Intranet services in UDP binary protocol using chrome.socket APIs
need to extract DOM content from non-app web pages. This could be done using bookmarklet, Browser Actions, page actions, or chrome context menus.
There are two chrome.contextMenus APIs
http://developer.chrome.com/apps/contextMenus.html
http://developer.chrome.com/extensions/contextMenus.html
One for Packaged App, another for Extensions. The former only insert contextMenus to Packages Apps, not normal web pages.
If I need both chrome.socket & invoking from normal webpage capability, do I need to create both an extension as well as an app? That would be very confusing to end users.
Yes, you need both the app and the extension. Apps are intentionally devoid of APIs that modify web pages. That's where extensions come in.
I ran into the same problem and had to make two separate apps for exactly the same reasons. (JSTorrent contextmenu extension && JSTorrent).
I believe there are ways to trigger the install dialog from one to the other, but I have not tried to do this yet. If somebody had examples for how to do this, that would be great to add here!
Consider using <webview> in an app. You'll be able to display web content there, and you can more easily communicate between the app and the content. It will result in a single installable item.

Linux - Does it have an hta equivalent?

Windows has hta files. They are a bit like html files. They include html5 and javascript but they launch as desktop applications which are fully-trusted. (They use a file called mshta.exe found in the IE installed components in order to run.)
The great thing is you can port many web pages to desktop applications with just a few extra lines of code.
Info can be found here:
http://msdn.microsoft.com/en-gb/library/ms536496%28v=vs.85%29.aspx
Do the latest releases of Linux (and possibly apple mac desktops) have an equivalent of hta files?
If you are aiming to deliver HTML content you can take a much more flexible road: use a GUI framework with HTML capabilities like QT.
here there is a simple example about how to use webkit ( a rendering engine for the web ) to embed a fully working web browser in your GUI, and QT works under many desktop and mobile platforms.
You can try to use node webkit for this purpose.

What web development tools will allow a page to be viewed by any internet connected device?

I know that Apple products like the iPad or the iPhone have trouble with flash apps.
What web development tools should I use in order to avoid compatibility issues when creating a website? My only constraint is that the languages must provide for interactivity and animation - such as in jQuery.
HTML, CSS, and PHP are a few that I can think of that will behave on 99% of all internet enabled devices.
What tools & languages are available to use when creating a website intended to be viewed on any device's internet "explorer"?
Should I just stick to HTML, CSS, & PHP? I want a certain level of interactivity so that, for example, a user can hover over images and have pop-ups containing data to appear... or when an object is clicked, an action can happen without a page reload.
Can someone point me in the right direction and help me develop a list of languages that are all-device friendly?
I am familiar with programming in several web-focused languages, I'm just wondering which ones to stay away from. Certain ones will limit the devices that can view the site and besides that constraint, the site needs to be interactive and animated.
HTML, CSS, PHP, JQUERY are truly your best bet for developing for a wide range of devices. If the scope of devices is the main goal I would stay away from using HTML5 and CSS3. You still may run into problems using much jquery with IE7 below. Mobile browsers on the other hand are much more advanced or up to date with standards then desktop browsers. I would suggest creating two versions of your application. One dedicated to running on mobile devices and one for desktop browsers. It is a shame apple wouldn't support flash applications. If all you need is hoovers for interaction you won't even need jquery / but for the other it will be useful.
The "Web" is a name for the concept of having interlinked documents accessible over the internet. Therefore, to have a website you really only need a document able to link to other documents, namely HTML.
HTML is not really a programming language or a tool though, it is a document format.
If you want to make a website you need use HTML to Markup what you're writing. Then you use CSS to format different sections of the document you marked up.
PHP though, is completely separate from this, PHP is for creating dynamic HTML, or any document on the server side.
If you want to achieve a flash-effect on a site you use Javascript to modify the page content (HTML) and appearance (CSS).
If you need to learn HTML/CSS I would highly recommend http://htmldog.com/
As per the question, HTML CSS and Javascript are pretty much the only mobile-browser compatible method for website content as they don't need plugins.
What exactly are you trying to do?

Resources