Browser widget - change browser engine
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Browser widget - change browser engine
Hi,
I have developed the help system for my Livecode app in HTML. I am trying to use the browser widget to display it.
It seems that the LC browser widget uses Chrome (or maybe Opera) as the browser engine, which doesn't allow searching of local HTML files - only server based. Firefox and (perish the thought) Internet explorer work fine.
Is there a way to change the browser engine so that I can overcome this issue? Otherwise I will need to revert to launching firefox/IE separately (not my preferred option).
Cheers
Greg
I have developed the help system for my Livecode app in HTML. I am trying to use the browser widget to display it.
It seems that the LC browser widget uses Chrome (or maybe Opera) as the browser engine, which doesn't allow searching of local HTML files - only server based. Firefox and (perish the thought) Internet explorer work fine.
Is there a way to change the browser engine so that I can overcome this issue? Otherwise I will need to revert to launching firefox/IE separately (not my preferred option).
Cheers
Greg
Re: Browser widget - change browser engine
Yep the browser widget uses chromium.
Why not use the browser object, see this lesson.
http://lessons.livecode.com/m/2592/l/27 ... n-your-app
If you omit the Cef part of revBrowserOpenCef then the browser used should be IE for Windows and Safari for Mac. Including the Cef will force Chromium to be used.
Why not use the browser object, see this lesson.
http://lessons.livecode.com/m/2592/l/27 ... n-your-app
If you omit the Cef part of revBrowserOpenCef then the browser used should be IE for Windows and Safari for Mac. Including the Cef will force Chromium to be used.
Andy .... LC CLASSIC ROCKS!
-
- Posts: 52
- Joined: Mon Jun 24, 2013 4:10 am
- Contact:
Re: Browser widget - change browser engine
@Bergsy: Can you describe how you can search html files from the browser inside Livecode? What is it that you can do in Firefox that you cannot do in Chrome? What is the method you would use, (assuming it worked)
Cmd-F works in all desktop browsers for the current page. So I don't understand what you mean by. "allow searching of local html files?" I have not seen this in Firefox, which is the browser I use.
I also have an interest in this and was hoping to use the Browser widget.
Agreed: we do not want to take the users out to a separate browser/app.
I wasn't aware that there was such a search function in Firefox. if we used the "old" non CEF Rev Browser, how would you implement that kind of search?
Brahmanathaswami
Cmd-F works in all desktop browsers for the current page. So I don't understand what you mean by. "allow searching of local html files?" I have not seen this in Firefox, which is the browser I use.
I also have an interest in this and was hoping to use the Browser widget.
Agreed: we do not want to take the users out to a separate browser/app.
I wasn't aware that there was such a search function in Firefox. if we used the "old" non CEF Rev Browser, how would you implement that kind of search?
Brahmanathaswami
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Browser widget - change browser engine
Chrome won't run JavaScript from a local file. But since the LC IDE's Dictionary uses the Browser widget and has search there must be a way to accomplish what's needed here.Brahmanathaswami wrote:@Bergsy: Can you describe how you can search html files from the browser inside Livecode? What is it that you can do in Firefox that you cannot do in Chrome?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Browser widget - change browser engine
I'd guess the dictionary is searching the text files rather than the widget content.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Browser widget - change browser engine
Hi all,
Sorry for the delay.
Andy, the revBrowserOpen works fine, however the shortcomings of Internet Explorer as a browser are evident if I go to a modern website. Is there any way to use Firefox as the engine?
Brahmanathaswami, I am using Dr Explain to build my HTML help system. It has a search option that uses the capability in the browser to search the html files for content. IE and Firefox can do that for local files on my hard drive, but Chrome does not.
If I could somehoe use the Firefox engine, that would be great. Otherwise IE is good enough for my help system as it doesn't rely on modern scripting.
Cheers
Greg
Sorry for the delay.
Andy, the revBrowserOpen works fine, however the shortcomings of Internet Explorer as a browser are evident if I go to a modern website. Is there any way to use Firefox as the engine?
Brahmanathaswami, I am using Dr Explain to build my HTML help system. It has a search option that uses the capability in the browser to search the html files for content. IE and Firefox can do that for local files on my hard drive, but Chrome does not.
If I could somehoe use the Firefox engine, that would be great. Otherwise IE is good enough for my help system as it doesn't rely on modern scripting.
Cheers
Greg
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Browser widget - change browser engine
Does the problem persist with Microsoft's current browser, Edge?bergsy wrote:...the shortcomings of Internet Explorer as a browser are evident if I go to a modern website.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Browser widget - change browser engine
Yes it does. Luckily IE still ships on Windows 10. But they may remove it at some point, which is why I would prefer to use Firefox