Get URL from Firefox browser on Ubuntu in Qt application - c++

I work on Qt.
I need to retrieve URL from current Web page opened in Firefox by using Accessibility in Ubuntu 14.04.
Can somebody tell me how to do that?

You should Create WebSocket based Qt apps then listen on specific port and firefox add-on and connect with particular port and then only you can communicate with Firefox and Qt Application.
Please go through these links for more help.
Create Qt WebSocket Based Application.
Create add-on using the Firefox SDK
Write WebSocket client applications
Use Firefox tab api to get current URL and share with Qt Apps.

Related

Conection between chrome extension and django website

I am developing a Chrome extension that detects when a file is downloaded, sends it to a website (also created by me with Django), and after the website processes it, the Chrome extension receives another file with some results.
I would like to know how I could connect them. Does someone have any examples or names of some technology that allows Chrome extensions to send and receive files from a website or server? Thank you in advance!

Connect django website/database with desktop application

So I am creating a sign up page in django that will also have a sqLite database which won't be accessible from the webpages to the users.
As I want it to be only accessible with the desktop application. After reading up I came across an article that said that Tkinter and django don't mix together.
What can I use instead of tkinter for the application? And what else am I missing in this picture?
database? (check)
desktop application (????)
server side will only provide the info for the client side and 'reward users'
client side will do the tasks and handshake with the server on completion for 'reward'
Have you considered Electron for the desktop app? Electron is basically a framework for using web technologies to build desktop applications and is used for things like Slack and Visual Studio Code.
It seems perfect for this purpose. You could just create a custom app in Django for the management of the database that can only be accessed via the Electron client. The entire desktop application could be built as a webpage and justed linked to in Electron.

2 local servers (logic server on C++ and Web Server for Web pages) data interchange. How to?

we have an application made with Qt C++ and Http server with logic (logic server) Qt C++.
Yet it worked without web page (web app) and now we want to launch a web application (in browser)
I see no solution with 2 separate servers and fast operating data interchange.
What approach should we pick up to solve this problem? And what web server should we take to be able to interchange data efficiently with C++ logic server? Or is there some solution for Qt C++ to make our server on C++ generate wep pages?
What is now?
Server side
http logic server C++ with Sqlite database
Client side
Android, ios, windows applications working with logic server.
What we need?
Server side
http logic server C++ with Sqlite database + functionality to generate web pages (separate server or addon to C++ server)
Client side
Android, ios, windows applications working with logic server. + web application in browser
Check out Wt, a C++ Web Toolkit. It mimics the Qt API to allow webdevelopment in C++. You can instantiate widgets which compile into a webserver that renders these widgets, using html and css, on the client's browser.

What happened to wso2 application server url mapping feature?

We are presently using WSO2 application server version 5.0.1 and rely on its web application url mapping feature to map our single web application to various client url's. e.g. an application running on http://mydomain.com:9763/example/ can be mapped to http://client1.mydomain.com:9763/ as well as http://client2.mydomain.com:9763/
In the new version 5.2.1 of WSO2 application server, I cant find the url mapping feature anywhere. I added the http://dist.wso2.org/p2/carbon/releases/4.2.0/features/ P2 repo and tried to search for the feature but is seems to be missing.
Has the feature been dropped? Is there a way we can have the same functionality on 5.2.1?
Yes we have removed URL mapping feature from WSO2 appserver

How can I get the URL from running instance of firefox and chrome web Browser in My C++ Application?

I am developing one application which will display URL from all currently running web browsers.
I stuck on the firefox and chrome web browser.
I have a handle of currently running web browser but not able to get the URL from it.
So, Can any one tell me how can I get URL from Firefox and Chrome Web Browser.
Thank You In Advance.