Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML/CSS/JS in desktop applications

I've read about XSS vulnerability in desktop applications like Skype and ICQ. I wonder why they choose to use html in this kind of applications that can also be written without any html. Is there a simple reason? Does someone know if Skype uses html on pages like "Skype Home" only or is the whole GUI written in html?

I'm asking because I'm writing a web application that runs within the browser and will be ported to mobile and desktop platforms once finished. You can compare it to instant messengers but it's something different in fact.

I thought about using PhoneGap to simply "copy" the project to mobile platforms and using system functions via the PhoneGap API. But I think it may be slow and/or not good-looking. Also it wouldn't look native, the question then is whether too use our own html GUI on all platforms (so it looks the same everywhere) or to adapt the design concepts of each platform (using native controls in native languages or e.g. Titanium (which is unfortunately too expensive)).

But I never thought about using HTML in desktop applications. How do you embed that anyway? I'm using C#. Using WebBrowser form element or using some kind of web browser rendering engine?

like image 589
Eliasdx Avatar asked Sep 09 '11 17:09

Eliasdx


People also ask

Can you use HTML and CSS for desktop application?

Electron can be used to build Desktop Apps with HTML, CSS and Javascript. Also these apps work for multiple platforms like Windows, Mac, Linux and so on. Electron Combines Chromium and NodeJS into a single Runtime. This enables Us to run the HTML, CSS and Javascript Code as a desktop application.

Can you make an app with HTML CSS and JavaScript?

Yes, you read it right in the title of this article. In this article, we are going to build an Android App with HTML, CSS, and JavaScript in Android Studio.

Can we use JavaScript in desktop application?

js can be used for building web, mobile, and desktop applications. Although it does not build desktop apps on its own, it can be used with Cordova or other similar tools to produce them.

Can you make desktop apps with HTML?

If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS.


1 Answers

To answer the initial question (in your 1st paragraph):

I assume they chose to wrote it using HTML as a way to make it cross-platform more easily.

like image 102
nocache Avatar answered Sep 28 '22 11:09

nocache