CSS

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
tbalazs
Posts: 9
Joined: Tue Sep 22, 2009 10:21 pm

CSS

Post by tbalazs » Fri Oct 02, 2009 2:17 am

Is there any way I could have revBrowser ignore a site's CSS and impose styles from elsewhere (either locally or in the internet)?
Tony.

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Post by Klaus » Fri Oct 02, 2009 7:28 pm

Hi Tony,

I'm afraid this is not possible from inside of Rev.

But sinces the browser external user IE on Wind and Safari (Webkit) on the Mac,
maybe this will work if you cahnge the setting in Safari/IE directly first?

Presumed there ARE such settings in IE on windows.
You can do this in the Safari prefs however.

Never tried, just a thought :-)


Best

Klaus

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Fri Oct 02, 2009 8:54 pm

Hi Tony,

In some cases, you might read the url, put the htmlText into a variable, replace the style tag or the link meta tags with your own, and set the htmlText property (using revBrowserSet) of the browser window.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

tbalazs
Posts: 9
Joined: Tue Sep 22, 2009 10:21 pm

Post by tbalazs » Fri Oct 02, 2009 11:22 pm

Thanks Klaus and Mark. I will have a play around and see what I can do. The problem is likely to be that it's a dynamic asp driven site. But I'll see, and report back.
Tony.

Post Reply