LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Simple web browser for Linux (without menu and icons) ? (http://www.linuxquestions.org/questions/linux-desktop-74/simple-web-browser-for-linux-without-menu-and-icons-4175462276/)

giovanni4000 05-16-2013 07:45 PM

Simple web browser for Linux (without menu and icons) ?
 
Hi ,

Our application build using PHP. normally we can access it using web browser like Firefox, safari, chrome, etc. The application need Session/Cookies for authentication & SSL connection.
The problem is, we do not want MENU (File, Edit, View, etc) and the icons like (back, refresh, etc) can be clicked. We can use javascript to make a "blank" browser, but javascript can be bypassed.

Any idea, how to make a very simple browser to work in Linux without menu & refresh/back icon ?
Or how to modify existing browser (not using Javascript) so it can hide the menu and some other icons ?

Thanks
Gio

MAGOVIA 05-16-2013 07:54 PM

Check out http://lynx.browser.org/ source code

jefro 05-16-2013 08:03 PM

I know we used to do this in IE.

I'm sure I have read that you can do this in both firefox and Opera with edits but see these for a more easy way.


https://addons.mozilla.org/en-US/fir...on/open-kiosk/
http://help.opera.com/Linux/12.10/en/kiosk.html

giovanni4000 05-16-2013 08:05 PM

Quote:

Originally Posted by MAGOVIA (Post 4952784)
Check out http://lynx.browser.org/ source code

Thanks Magovia. But Lynx is only TEXT browser. Actually there are some images at product application. So, I need something like Firefox, BUT without menu, refresh/back button, etc. It must work with session/cache, SSL and CSS.

Thanks

evo2 05-16-2013 08:16 PM

Hi,

it's some time since I used it, but IIRC, Jumaji might fit the bill.

http://pwmt.org/projects/jumanji/

HTH,

Evo2.

giovanni4000 05-16-2013 08:26 PM

Many thanks jefro & evo2. I will see the link you gave.

Thanks

TobiSGD 05-16-2013 09:03 PM

You maybe want to have a look at uzbl, a toolkit that is very customizable and can be turned in exactly the browser you need: http://www.uzbl.org/

evo2 05-16-2013 09:07 PM

Hi,

can't believe I forgot about uzbl... Surf might also be worth a look:
http://surf.suckless.org/

Cheers,

Evo2.

giovanni4000 05-16-2013 09:56 PM

Hi TobiSGD & Evo2,

Many thanks ..... :cool:

Gio

giovanni4000 05-20-2013 11:41 PM

Quote:

Originally Posted by jefro (Post 4952787)
I know we used to do this in IE.

I'm sure I have read that you can do this in both firefox and Opera with edits but see these for a more easy way.


https://addons.mozilla.org/en-US/fir...on/open-kiosk/
http://help.opera.com/Linux/12.10/en/kiosk.html

Hi jefro,

I think your links match my needs. I found like : http://webconverger.org/kiosk/ , https://addons.mozilla.org/en-us/fir...ersion-history may be can be used.

But the problem is, every people from client can use any browser to access my site. Because the client is a normal PC, not a really kiosk. I tried to solve it using catch the "userAgent" information. But, still can not solve the problem, because it can not change the user agent of firefox PERMANENTLY. I can use addons to change the "userAgent" information, but it's only temporary, and will be set to default one after restarting the firefox.

I found this : http://www.fau.edu/oit/blackboard/lockdown_browser.php , the client can not access the site using common browser.

Any idea similar like this ?

Thanks
Gio

evo2 05-21-2013 12:13 AM

Hi,
Quote:

Originally Posted by giovanni4000 (Post 4955410)
But the problem is, every people from client can use any browser to access my site.

Are trying to restrict which browsers can be used to view a site?

Evo2.

giovanni4000 05-21-2013 12:30 AM

Quote:

Originally Posted by evo2 (Post 4955428)
Hi,

Are trying to restrict which browsers can be used to view a site?

Evo2.

Hi Evo2,

Actually i just want "the only simple browser" we define can access the server, that do not has menu, url, search, back button, refresh button, right click, etc ... etc... so, it is like a stand alone application GUI. But this simple browser must have ability to run css.

The approach to this, i think is may be like the kiosk. But because of this "kiosk browser" is run from a client PC (not a real kiosk client), so at client side some one still can use a "normal web browser" like IE, FireFox, Safari, etc .... to access the server.

To avoid this, I think at server side (LAMP), we can make small appication to catch the userAgent of client browser, so if the "userAgent" is not xxxxxxxxx, it will be redirect to a blank page. But i can not use "userAgent" information of firefox kiosk, because I can not change the "useragent" of firefox permanently. I still do not know other web browser like: safari, konqueror, etc that available on linux for this purposes.

Any idea ?

(note: still learning the other links like: surf, uzbl, jumanji .... )

Thanks a lot.
Gio

evo2 05-21-2013 12:44 AM

Hi,

ohh, so you are trying to produce some sort of locked down software that users will have to install on their machines. Sorry, that is not something I've had experience with or interest in. Why not lock down the web app, and let the users use whatever browser they want?

Evo2.

giovanni4000 05-21-2013 01:05 AM

Quote:

Originally Posted by evo2 (Post 4955445)
Hi,

ohh, so you are trying to produce some sort of locked down software that users will have to install on their machines. Sorry, that is not something I've had experience with or interest in. Why not lock down the web app, and let the users use whatever browser they want?

Evo2.

Hi Evo2,

Actually our application is client/server application. The application is made using PHP , and we use Linux + Apache + Mysql as server. Actually we can use a client/server application made with Java (we have linux server, and at client side we have linux+windows client at other city), but our programmer has done it in PHP instead of Java.

We do not want any other people outside of our staff can access the application. Because the application is made in PHP, so we need a "customize web client" at client side. And they may not click "back button, refresh button, right click" etc .... which normally available at any web browser. This "back, refresh, right click, etc" features can effect our application. That's why I need some thing like "kiosk web browser, that has special identity" that the only one browser may access to our php application at main office (via VPN from another city - branch office).

I still do not know any other solution than this web kiosk browser + its identity to this problem.

Thanks
Gio

evo2 05-21-2013 01:19 AM

Hi,

IMHO, back, refresh etc should be blocked by the application. In this case in the php code at the server. If only certain individuals should be able to use the site then you should use https and user authentication.

AFAICT trying to lock down the client (ie the software on the users machine) is doomed to failure. The user has control over their own machine. Anyway this is getting into areas where I have little expertise. I hope you find a solution.

Evo2.


All times are GMT -5. The time now is 04:01 PM.