User Agent in Editor

For topics about current BETA or future releases, including feature requests.

User Agent in Editor

Postby MikeGale » Sun Mar 19, 2006 7:54 pm

In the batch tool a user agent can be defined.

In the editor I'm not aware of a similar setting.

As a consequence I can get validation messages in batch mode that cannot be checked in the editor.

Example: I have an ASPX page partly written by me and partly by third party page components. (I don't have the source of the third party material.) The third party tools inject several script blocks and other things into the page. What is inserted depends of the browser, as identified by the UA string.

When I get exception messages, I can't use the CSE Editor to read the page. Instead I use a browser and check source in that.

It would be useful to set UA when the editor fetches pages (from the web), in version 8.
User avatar
MikeGale
Rank VI - Professional
Rank VI - Professional
 
Posts: 612
Joined: Mon Dec 13, 2004 2:50 pm
Location: Tannhauser Gate

Postby Albert Wiersch » Mon Mar 20, 2006 8:56 am

Hello,

If you use File->Open from the Web then you should have the option to pick or enter a user agent to use when fetching the URL. However, you can't do this with the integrated web browser. Are you wanting to specify an agent to use with the integrated web browser?
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2435
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX

Postby MikeGale » Mon Mar 20, 2006 5:19 pm

Hi Albert,

I haven't reproduced the issue this morning.

Situation was:
1) Using batch mode and edit from within browser (edit button...), and some open from web (I think).
2) A page that renders differently for different browsers.
3) I got unexpected content in the editor, presumably via the edit-in-cse-from-browser route. (On checking into this it seems to me that CSE is using a page copy cached by the browser, which suggests that can't happen.)

In the absence of further evidence, I'll put that it down to finger trouble on my part. So cancel the suggestion.

The issue of the built in browser (F8 ) is interesting. I haven't thought through all implications, but picking the browser UA string looks like it would be useful. (Years ago I remember that an average user could customise these strings, I suspect it's no longer as easy.)

When I realised there are several ways of accessing a page (batch, via browser, open-from-web and built in browser) I saw just what an interesting job you have in designing!
User avatar
MikeGale
Rank VI - Professional
Rank VI - Professional
 
Posts: 612
Joined: Mon Dec 13, 2004 2:50 pm
Location: Tannhauser Gate


Return to CSE BETA Talk

Who is online

Users browsing this forum: No registered users and 1 guest

cron