realbasic-nug
[Top] [All Lists]

Re: HTMLViewer: Print a page using javascript

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: HTMLViewer: Print a page using javascript
From: Jann Gobble <janngobble@gmail.com>
Date: Fri, 29 May 2009 14:47:36 -0700
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com; dkim=neutral (body hash did not verify) header.i=@gmail.com
Delivered-to: listarchive@realsoftware.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=QUE5ScyjkImy/hxQ2mYFrEK6ZFgA0oJsB/TL43J8iT4=; b=KN7vP2dasdcgDBWeszzQ7PSF4q1fVEb1chxEZyrt4fC+4LDKAZdjC7VDaMhMekZaG/ KLFIO7b8FakILw+49CxvdbuHW7vVI1WHEyaVHnLtfLF/r2AjH9MogVUu8PYSGbhQuGFo iHXote3Cs1bWr2VHkr0y/YajjiTqqCYGbNlfQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=F6rZXnenlTuf8dvoPGQJao47vx3b/p1+45PMbx5MR4LY65leCE5SmaMv3RdVn074Kx RvNvCXuoI2P7wrJoGCD2c5oNad8MvXEC8ZbXd6D5DWboVZT702hBY1ghDXGN7OHwLqKr w49t5gBvpImWRL7XJmCMFJGrZMHWadNyaQPcA=
In-reply-to: <1j0i4c3.zop1zeitpldsM%realbasiclists@monkeybreadsoftware.de>
References: <1j0i4c3.zop1zeitpldsM%realbasiclists@monkeybreadsoftware.de>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
Speaking of MBS and HTMLViewer, does anyone know of an alternative (other than ShowURL) to use an alternate engine (other than IE) when displaying HTML in the Windows side?

I cannot use the HTMLViewer on the windows side due to the security concerns .. It is EXTREMELY dangerous in this day and age to allow everything that IE allows and I have no control over the users' security settings (in their windows control panel).

I know HTMLViewer on Mac uses WebKit and on Linux uses Thunderbird...and i DO NOT want to use ShowURL when on the windows platform.

I would buy MBS in a second if i could use the Gecko engine!  :)

TIA

Jann


On May 29, 2009, at 2:39 PM, Christian Schmitz wrote:

Franck Perez <perez.franck@gmail.com> wrote:

Great trick. Thanks.
I am not familiar with javascript, so I have 2 questions as a follow-up: 1- is it possible to check that javascript is enabled ? Or to enable it
at run-time ?

For Mac you can use the WebPreferencesMBS class to change this setting.

2- more importantly, how would you copy the the content of a page
displayed in an htmlViewer or the source code of the page using the same
kind of trick (or any other !) ?

My plugins have methods for this for Mac and Windows.

Greetings from Rome,
Christian

--
Over 1500 classes with 29000 functions in one REALbasic plug-in.
The Monkeybread Software Realbasic Plugin v9.3.

<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>