469,323 Members | 1,604 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,323 developers. It's quick & easy.

encrypted or something web page

Have a look at http://www.foxtel.com.au/TVGuide.aspx
Select a channel in the left hand box, say discovery, hit GO.

I want to import the data from the web page.

I used to be able to until they changed the format recently.

I now cant even see the program info with a view source.

There appears to be a block of encrypted stuff down the
bottom which is about the right size for the program data.

Anyone got any ideas about how to unencrypt it ?
Jul 23 '05 #1
33 1452
On Sat, 19 Jun 2004 13:56:22 +1000, Rod Speed <ro*******@yahoo.com> wrote:
Have a look at http://www.foxtel.com.au/TVGuide.aspx
Select a channel in the left hand box, say discovery, hit GO.

I want to import the data from the web page.

I used to be able to until they changed the format recently.

I now cant even see the program info with a view source.

There appears to be a block of encrypted stuff down the
bottom which is about the right size for the program data.

Anyone got any ideas about how to unencrypt it ?


All I get is a return to the main screen and "Session expired, please try
again"

Is http://www.foxtel.com.au/ your domain?
Jul 23 '05 #2


On Saturday, June 19, 2004 at 13:56:22 Saturday, 19 June 2004 (where I live), "Rod Speed" wrote:
Have a look at http://www.foxtel.com.au/TVGuide.aspx
Select a channel in the left hand box, say discovery, hit GO. I want to import the data from the web page.

Dunno if I followed your instructions correctly, but on Mozilla 1.7 it opens
a Flash type file which plays an ad for the Discovery channel. Runs in a
loop.

Is this what you mean?

--
When you do a good deed get a receipt, in case heaven is like the IRS.

Jul 23 '05 #3

Neal <ne*****@yahoo.com> wrote in message
news:op**************@news.individual.net...
Rod Speed <ro*******@yahoo.com> wrote
Have a look at http://www.foxtel.com.au/TVGuide.aspx
Select a channel in the left hand box, say discovery, hit GO. I want to import the data from the web page. I used to be able to until they changed the format recently. I now cant even see the program info with a view source. There appears to be a block of encrypted stuff down the
bottom which is about the right size for the program data. Anyone got any ideas about how to unencrypt it ?

All I get is a return to the main screen and "Session expired, please try again" Is http://www.foxtel.com.au/ your domain?


Nope, its one of the national PayTV operations.

That is the best of the TV guides for those channels,
particularly the detail like the episode title etc.
Jul 23 '05 #4

John Phillips <fl************@deadspam.com> wrote in message
news:11***********************@deadspam.com...
Rod Speed wrote
Have a look at http://www.foxtel.com.au/TVGuide.aspx
Select a channel in the left hand box, say discovery, hit GO. I want to import the data from the web page.

Dunno if I followed your instructions correctly, but
on Mozilla 1.7 it opens a Flash type file which plays
an ad for the Discovery channel. Runs in a loop. Is this what you mean?


Nope, you should get the day's TV guide for that channel.

Looks like its IE specific code since Neil cant see it either.
Jul 23 '05 #5
W
In news:2j*************@uni-berlin.de, Rod Speed bitched and moaned:
Have a look at http://www.foxtel.com.au/TVGuide.aspx
Select a channel in the left hand box, say discovery, hit GO.

I want to import the data from the web page.

I used to be able to until they changed the format recently.

I now cant even see the program info with a view source.

There appears to be a block of encrypted stuff down the
bottom which is about the right size for the program data.

Anyone got any ideas about how to unencrypt it ?


Are you referring to the `gibberish` that appears in
<input type="hidden" name="__VIEWSTATE" .../>
Jul 23 '05 #6


On Saturday, June 19, 2004 at 14:23:33 Saturday, 19 June 2004 (where I live), "Rod Speed" wrote:
Nope, you should get the day's TV guide for that channel.


Like this:- ?

6.00am The Aquanauts Travel & Adventure. Led by an expert team of deep-sea
divers, marine biologists and zoologists, explore the underwater world.
Travel to exotic locations to uncover the breathtaking landscapes and
unusual animals that live underwater. (PG)

--
The 4 major food groups: fast, frozen, junk, & spoiled.

Jul 23 '05 #7

"John Phillips" <fl************@deadspam.com> wrote in message news:11***********************@deadspam.com...


On Saturday, June 19, 2004 at 14:23:33 Saturday, 19 June 2004 (where I live), "Rod Speed" wrote:
Nope, you should get the day's TV guide for that channel.


Like this:- ?

6.00am The Aquanauts Travel & Adventure. Led by an expert team of deep-sea
divers, marine biologists and zoologists, explore the underwater world.
Travel to exotic locations to uncover the breathtaking landscapes and
unusual animals that live underwater. (PG)


Yep.

The cycling logos are just one on each program item.
Jul 23 '05 #8
rf

"Rod Speed" <ro*******@yahoo.com> wrote in message
news:2j*************@uni-berlin.de...
Have a look at http://www.foxtel.com.au/TVGuide.aspx
Select a channel in the left hand box, say discovery, hit GO.

I want to import the data from the web page.

I used to be able to until they changed the format recently.

I now cant even see the program info with a view source.

There appears to be a block of encrypted stuff down the
bottom which is about the right size for the program data.
Yep. There is a bunch of excrypted looking stiff inside a function call to a
javacript function cv.

Where does cv live?

Well, look just above that. There is a language="javascript" link to a
src="jscript.aspx". this would be an ASP server side routine.

If you try a view source on this link you will get "Cheating Not Good". Real
Funny :-)

But wait, if you look there are some parameters to that link. Add the
parameters and we obtain an eval expression. Here is the first bit:
eval(unescape("%66%75%6E%63%74%

This no doubt creates the cv function.

The parameters are the interesting thing. You can bet that they are randomly
generated and encrypted for each access to the page. Then, in the call to
the ASP routine they would be descrypted and used to seed an individual cv
function, tailored to descript the data on that particular instance of the
page.

Looks like a quite good "content protection" thing. Well thought out. They
obviously don't want anybody hotlinking to their content and stealing it, as
is their right considering they hold the copyright to said material :-)
Anyone got any ideas about how to unencrypt it ?


There are any number of ways. For a start copy/paste this into your address
bar: (watch the wrap)
javascript:alert(document.getElementById("tblCellT VGuideResults").innerHTML)

It'll show you the HTML contents of that table cell :-)

--
Cheers
Richard.
Jul 23 '05 #9


On Saturday, June 19, 2004 at 14:44:59 Saturday, 19 June 2004 (where I live), "Rod Speed" wrote:
Like this:- ?

6.00am The Aquanauts Travel & Adventure. Led by an expert team of deep-sea
divers, marine biologists and zoologists, explore the underwater world.
Travel to exotic locations to uncover the breathtaking landscapes and
unusual animals that live underwater. (PG)
Yep.


I can cut & paste & e-mail it to you if you like.

--
I'm just here for moral support... please ignore the gun.

Jul 23 '05 #10

"W" <st***@none.com> wrote in message news:Bm****************@nnrp1.ozemail.com.au...
In news:2j*************@uni-berlin.de, Rod Speed bitched and moaned:
Have a look at http://www.foxtel.com.au/TVGuide.aspx
Select a channel in the left hand box, say discovery, hit GO.

I want to import the data from the web page.

I used to be able to until they changed the format recently.

I now cant even see the program info with a view source.

There appears to be a block of encrypted stuff down the
bottom which is about the right size for the program data.

Anyone got any ideas about how to unencrypt it ?


Are you referring to the `gibberish` that appears in
<input type="hidden" name="__VIEWSTATE" .../>


Looks more likely to be the lower one,
<td id="tblCellTVGuideResults"
just because its bigger and that does have that TVGuideResults text in the header.
Jul 23 '05 #11

John Phillips <fl************@deadspam.com> wrote in message
news:11***********************@deadspam.com...
Rod Speed wrote
Like this:- ? 6.00am The Aquanauts Travel & Adventure. Led by an expert team of deep-sea
divers, marine biologists and zoologists, explore the underwater world.
Travel to exotic locations to uncover the breathtaking landscapes and
unusual animals that live underwater. (PG)
Yep.

I can cut & paste & e-mail it to you if you like.


I can see them fine in IE and can cut and paste them from there myself.

I want to import the web page contents into an access database.

I do that with softcom and austar and the FTA channels, and
used to be able to with foxtel too until the most recent format
change on that web site, when they added the 'digital' service.
Jul 23 '05 #12


On Saturday, June 19, 2004 at 14:52:26 Saturday, 19 June 2004 (where I live), "Rod Speed" wrote:
I can see them fine in IE and can cut and paste them from there myself. I want to import the web page contents into an access database.

Sorry, misunderstood you.

--
I don't have a solution, but I do admire the problem.

Jul 23 '05 #13

rf <rf@example.com> wrote in message
news:zw*******************@news-server.bigpond.net.au...
Rod Speed <ro*******@yahoo.com> wrote
Have a look at http://www.foxtel.com.au/TVGuide.aspx
Select a channel in the left hand box, say discovery, hit GO. I want to import the data from the web page. I used to be able to until they changed the format recently. I now cant even see the program info with a view source. There appears to be a block of encrypted stuff down the
bottom which is about the right size for the program data. Yep. There is a bunch of excrypted looking stiff
inside a function call to a javacript function cv. Where does cv live? Well, look just above that. There is a language="javascript" link
to a src="jscript.aspx". this would be an ASP server side routine. If you try a view source on this link you will get "Cheating Not Good".
Real Funny :-)
Yeah, someone with a sense of humor |-)
But wait, if you look there are some parameters to that link. Add the
parameters and we obtain an eval expression. Here is the first bit:
eval(unescape("%66%75%6E%63%74% This no doubt creates the cv function. The parameters are the interesting thing. You can bet that they are randomly
generated and encrypted for each access to the page. Then, in the call to
the ASP routine they would be descrypted and used to seed an individual cv
function, tailored to descript the data on that particular instance of the page. Looks like a quite good "content protection" thing. Well thought out. They
obviously don't want anybody hotlinking to their content and stealing it, as
is their right considering they hold the copyright to said material :-)
Oddly enough a more limited program guide in pdf format in the
business section. Much briefer items tho and not all channels either.
Anyone got any ideas about how to unencrypt it ?

There are any number of ways. For a start copy/paste this into your address
bar: (watch the wrap)
javascript:alert(document.getElementById("tblCellT VGuideResults").innerHTML) It'll show you the HTML contents of that table cell :-)


Dont get anything useful when I do that.

I actually want to import the web pages into access.
I did that with the previous version of those web pages
using TransferText but anything that works would suit me fine.
Jul 23 '05 #14
rf

"Rod Speed" <ro*******@yahoo.com> wrote in message
news:2j*************@uni-berlin.de...

rf <rf@example.com> wrote in message
news:zw*******************@news-server.bigpond.net.au...
Rod Speed <ro*******@yahoo.com> wrote
Have a look at http://www.foxtel.com.au/TVGuide.aspx
Select a channel in the left hand box, say discovery, hit GO. Anyone got any ideas about how to unencrypt it ?
There are any number of ways. For a start copy/paste this into your

address bar: (watch the wrap)

javascript:alert(document.getElementById("tblCellT VGuideResults").innerHTML)
It'll show you the HTML contents of that table cell :-)
Dont get anything useful when I do that.


Oh, you are right. I gave the alert output the merest of glances. Looks like
there is more than one level of encryption. They Really must not want you to
steal their stuff. Try
javascript:alert(document.getElementById("tblCellT VGuideResults").innerText)
I actually want to import the web pages into access.
Then you are in breach of copyright law. If you continue to steal their
material I would advise retaining a good soliciter. You'll need one if
Foxtel find out.
I did that with the previous version of those web pages
using TransferText but anything that works would suit me fine.


Foxtel obviously don't think that "anything that works" is fine :-)

--
Cheers
Richard.
Jul 23 '05 #15

rf <rf@example.com> wrote in message
news:K1*******************@news-server.bigpond.net.au...
Rod Speed <ro*******@yahoo.com> wrote
rf <rf@example.com> wrote
Rod Speed <ro*******@yahoo.com> wrote Have a look at http://www.foxtel.com.au/TVGuide.aspx
Select a channel in the left hand box, say discovery, hit GO. Anyone got any ideas about how to unencrypt it ? There are any number of ways. For a start copy/paste
this into your address bar: (watch the wrap) javascript:alert(document.getElementById("tblCellT VGuideResults").innerHTML) It'll show you the HTML contents of that table cell :-)
Dont get anything useful when I do that.
Oh, you are right. I gave the alert output the merest of
glances. Looks like there is more than one level of encryption.
They Really must not want you to steal their stuff.
More likely they dont want other online TV Guide operations to do that.
Try
javascript:alert(document.getElementById("tblCellT VGuideResults").innerText)
Same result, nothing happens at all, the address bar contents stays
highlighted but nothing changes on the main body of the window.
I actually want to import the web pages into access. Then you are in breach of copyright law.
Nope. Its no more 'stealing' than reading it off the web page in IE is.
If you continue to steal their material I would advise retaining
a good soliciter. You'll need one if Foxtel find out.
Nope, perfecty legal in this country.
I did that with the previous version of those web pages
using TransferText but anything that works would suit me fine.

Foxtel obviously don't think that "anything that works" is fine :-)


Or they just want to prevent other online TV Guide
operations from getting the data from their web pages.
Jul 23 '05 #16
rf

"Rod Speed" <ro*******@yahoo.com> wrote in message
news:2j*************@uni-berlin.de...

rf <rf@example.com> wrote in message

I actually want to import the web pages into access.

Then you are in breach of copyright law.


Nope. Its no more 'stealing' than reading it off the web page in IE is.


Sorry, I read "import into access" as meaning you were then going to serve
the data up onto another web page. If not then OK, they will never know.

Do I recall discussing this with you a couple of years ago? That is,
scraping stuff off a web page into an access database?

In any case, regardless of what the alert gives you it should be a simple
matter to knock up a C# or C++ program to host the MSHTML control and point
it at the page. Then you have programatic access to the entire DOM.

--
Cheers
Richard.
Jul 23 '05 #17
Rod Speed wrote:
Have a look at http://www.foxtel.com.au/TVGuide.aspx
I want to import the data from the web page.
I used to be able to until they changed the format recently.


Google: XMLTV.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

Jul 23 '05 #18
"Rod Speed" <ro*******@yahoo.com> wrote in message
news:2j*************@uni-berlin.de...

rf <rf@example.com> wrote in message
news:K1*******************@news-server.bigpond.net.au...
Rod Speed <ro*******@yahoo.com> wrote
rf <rf@example.com> wrote
Rod Speed <ro*******@yahoo.com> wrote Have a look at http://www.foxtel.com.au/TVGuide.aspx
> Select a channel in the left hand box, say discovery, hit GO. Anyone got any ideas about how to unencrypt it ? There are any number of ways. For a start copy/paste
this into your address bar: (watch the wrap)
javascript:alert(document.getElementById("tblCellT VGuideResults").innerHTML)
It'll show you the HTML contents of that table cell :-) Dont get anything useful when I do that.
Oh, you are right. I gave the alert output the merest of
glances. Looks like there is more than one level of encryption.
They Really must not want you to steal their stuff.


More likely they dont want other online TV Guide operations to do that.
Try

javascript:alert(document.getElementById("tblCellT VGuideResults").innerText)
Same result, nothing happens at all, the address bar contents stays
highlighted but nothing changes on the main body of the window.

<snip>

I get the "html" output (ie the tvguide) but it is in a MS Window alert box.

I can't even copy and paste it.


Jul 23 '05 #19
Falkon wrote:
"Rod Speed" <ro*******@yahoo.com> wrote in message
news:2j*************@uni-berlin.de...
<--snip-->

javascript:alert(document.getElementById("tblCellT VGuideResults").innerText)
Same result, nothing happens at all, the address bar contents stays
highlighted but nothing changes on the main body of the window.


<snip>

I get the "html" output (ie the tvguide) but it is in a MS Window alert box.

I can't even copy and paste it.


javascript:window.clipboardData.setData('text',doc ument.getElementById("tblCellTVGuideResults").inne rText);void%200

In IE will copy it to the clipboard.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/
Jul 23 '05 #20
"Rod Speed" <ro*******@yahoo.com> writes:
Have a look at http://www.foxtel.com.au/TVGuide.aspx
Select a channel in the left hand box, say discovery, hit GO. .... There appears to be a block of encrypted stuff down the
bottom which is about the right size for the program data.

Anyone got any ideas about how to unencrypt it ?


It seems that the decryption function changes name too. In my current
load of the page, it's called "kt".

To see the "kt" function, simply write this in the address line:
javascript:kt
.... or replace "kt" with the name of the function in your page.

It's rather cryptic. Here is another function that decodes the string
(made without looking at their code, it confuzed more than it helped
anyway):
---
function decode(s) {
var buf = [], n=s.length, h=(n+1)>>1;
for(var i = 0; i<h ; i++) {
buf[i]=s.charAt(i*2+1);
buf[n-i]=s.charAt(i*2);
}

return buf.join("");
}
---
(I don't know whether it works with even length strings, I only had
an odd length string to test with).
You can't hide parts of a web page from the person who controls the
client :)
/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 23 '05 #21

"Rod Speed" <ro*******@yahoo.com> wrote in message
news:2j*************@uni-berlin.de...

John Phillips <fl************@deadspam.com> wrote in message
news:11***********************@deadspam.com...
Rod Speed wrote

Have a look at http://www.foxtel.com.au/TVGuide.aspx
Select a channel in the left hand box, say discovery, hit GO. I want to import the data from the web page.

Dunno if I followed your instructions correctly, but
on Mozilla 1.7 it opens a Flash type file which plays
an ad for the Discovery channel. Runs in a loop.

Is this what you mean?


Nope, you should get the day's TV guide for that channel.

Looks like its IE specific code since Neil cant see it either.


Works OK here. I got timeout when I had ZA Pro running. Otherwise just OK.
Clicking EDIT gets the page fine.

Jul 23 '05 #22

rf <rf@example.com> wrote in message
news:8q******************@news-server.bigpond.net.au...
Rod Speed <ro*******@yahoo.com> wrote
rf <rf@example.com> wrote in message
I actually want to import the web pages into access. Then you are in breach of copyright law.
Nope. Its no more 'stealing' than reading it off the web page in IE is.
Sorry, I read "import into access" as meaning you were then
going to serve the data up onto another web page. If not then OK,
Yeah, its just for my own use.
they will never know.
And it doesnt matter if they do, completely legal.
Do I recall discussing this with you a couple of years ago?
That is, scraping stuff off a web page into an access database?
Could be, I certainly had a problem initially with the
foxtel pages needing POST method for access.
In any case, regardless of what the alert gives you it should be a simple
matter to knock up a C# or C++ program to host the MSHTML control and
point it at the page. Then you have programatic access to the entire DOM.

Jul 23 '05 #23

"Randy Webb" <hi************@aol.com> wrote in message news:U7********************@comcast.com...
Falkon wrote:
"Rod Speed" <ro*******@yahoo.com> wrote in message
news:2j*************@uni-berlin.de...


<--snip-->

javascript:alert(document.getElementById("tblCellT VGuideResults").innerText)
Same result, nothing happens at all, the address bar contents stays
highlighted but nothing changes on the main body of the window.


<snip>

I get the "html" output (ie the tvguide) but it is in a MS Window alert box.

I can't even copy and paste it.


javascript:window.clipboardData.setData('text',doc ument.getElementById("tblCellTVGuideResults").inne rText);void%200

In IE will copy it to the clipboard.


Doesnt here, the clipboard just has that string in it, from when I pasted that to the address bar.
Jul 23 '05 #24
Whoops, this escaped part edited
More added at the bottom.
rf <rf@example.com> wrote in message
news:8q******************@news-server.bigpond.net.au...
Rod Speed <ro*******@yahoo.com> wrote
rf <rf@example.com> wrote in message
I actually want to import the web pages into access. Then you are in breach of copyright law.
Nope. Its no more 'stealing' than reading it off the web page in IE is.
Sorry, I read "import into access" as meaning you were then
going to serve the data up onto another web page. If not then OK,
Yeah, its just for my own use.
they will never know.
And it doesnt matter if they do, completely legal.
Do I recall discussing this with you a couple of years ago?
That is, scraping stuff off a web page into an access database?
Yep
http://groups.google.com/groups?thre...news.dfncis.de
In any case, regardless of what the alert gives you it should be a simple
matter to knock up a C# or C++ program to host the MSHTML control and
point it at the page. Then you have programatic access to the entire DOM.


Wanna spell that out a bit more please ?
Jul 23 '05 #25

Lasse Reichstein Nielsen <lr*@hotpop.com> wrote
in message news:ac**********@hotpop.com...
Rod Speed <ro*******@yahoo.com> writes
Have a look at http://www.foxtel.com.au/TVGuide.aspx
Select a channel in the left hand box, say discovery, hit GO. There appears to be a block of encrypted stuff down the
bottom which is about the right size for the program data. Anyone got any ideas about how to unencrypt it ?

It seems that the decryption function changes name too.
In my current load of the page, it's called "kt".
Figures I spose.
To see the "kt" function, simply write this in the address line:
javascript:kt
... or replace "kt" with the name of the function in your page.
Where are you getting the kt from ? Is it the cn in this load ?

<td id="tblCellTVGuideResults" align="Center"><SCRIPT LANGUAGE="JavaScript" src="jscript.aspx?a=038158.22552643520"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">cn(" rtseAeanheGs plri,

Looks like it, javascript:cn does produce some visible code.

Thanks for that, I'll have a closer look at that. Looks quite doable.
It's rather cryptic. Here is another function that decodes the string
(made without looking at their code, it confuzed more than it helped
anyway):
---
function decode(s) {
var buf = [], n=s.length, h=(n+1)>>1;
for(var i = 0; i<h ; i++) {
buf[i]=s.charAt(i*2+1);
buf[n-i]=s.charAt(i*2);
}

return buf.join("");
}
---
(I don't know whether it works with even length strings,
I only had an odd length string to test with). You can't hide parts of a web page
from the person who controls the client :)

Jul 23 '05 #26

Toby A Inkster <to*****@goddamn.co.uk> wrote in message
news:pa***************************@goddamn.co.uk.. .
Rod Speed wrote:
Have a look at http://www.foxtel.com.au/TVGuide.aspx
I want to import the data from the web page.
I used to be able to until they changed the format recently.

Google: XMLTV.


Interesting, thanks for that.

Not sure it helps with the particular problem of that particular web page tho.

The other ones are easy enough to import into access.
The problem is that the detail isnt as good, particularly
they lack the episode title and since I am using that to
keep track of what I have watched already, particularly
with the high level of repeats on the PayTV channels like
Discovery, I need more than just the series title for that.
Jul 23 '05 #27
"Rod Speed" <ro*******@yahoo.com> writes:
Looks like it, javascript:cn does produce some visible code.


That's it. :)

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 23 '05 #28
Lasse Reichstein Nielsen <lr*@hotpop.com> wrote
in message news:ac**********@hotpop.com...
Rod Speed <ro*******@yahoo.com> writes
Have a look at http://www.foxtel.com.au/TVGuide.aspx
Select a channel in the left hand box, say discovery, hit GO. There appears to be a block of encrypted stuff down the
bottom which is about the right size for the program data. Anyone got any ideas about how to unencrypt it ?

It seems that the decryption function changes name too.
In my current load of the page, it's called "kt".
Figures I spose.
To see the "kt" function, simply write this in the address line:
javascript:kt
... or replace "kt" with the name of the function in your page.
Where are you getting the kt from ? Is it the cn in this load ?

<td id="tblCellTVGuideResults" align="Center"><SCRIPT LANGUAGE="JavaScript" src="jscript.aspx?a=038158.22552643520"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">cn(" rtseAeanheGs plri,

Looks like it, javascript:cn does produce some visible code.

Thanks for that, I'll have a closer look at that. Looks quite doable.
It's rather cryptic. Here is another function that decodes the string
(made without looking at their code, it confuzed more than it helped
anyway):
---
function decode(s) {
var buf = [], n=s.length, h=(n+1)>>1;
for(var i = 0; i<h ; i++) {
buf[i]=s.charAt(i*2+1);
buf[n-i]=s.charAt(i*2);
}

return buf.join("");
}
---
(I don't know whether it works with even length strings,
I only had an odd length string to test with). You can't hide parts of a web page
from the person who controls the client :)


Jul 23 '05 #29
rf

"Rod Speed" <ro*******@yahoo.com> wrote in message
news:2j*************@uni-berlin.de...

"Randy Webb" <hi************@aol.com> wrote in message

news:U7********************@comcast.com...
Falkon wrote:
"Rod Speed" <ro*******@yahoo.com> wrote in message
news:2j*************@uni-berlin.de...


<--snip-->

javascript:alert(document.getElementById("tblCellT VGuideResults").innerText)
>Same result, nothing happens at all, the address bar contents stays
>highlighted but nothing changes on the main body of the window.
>

<snip>

I get the "html" output (ie the tvguide) but it is in a MS Window alert box.
I can't even copy and paste it.


javascript:window.clipboardData.setData('text',doc ument.getElementById("tblC
ellTVGuideResults").innerText);void%200
In IE will copy it to the clipboard.


Doesnt here, the clipboard just has that string in it, from when I pasted

that to the address bar.

You *did* press Enter after you pasted that string to the address bar,
didn't you?

--
Cheers
Richard.
Jul 23 '05 #30

"rf" <rf@example.com> wrote in message news:mt*******************@news-server.bigpond.net.au...

"Rod Speed" <ro*******@yahoo.com> wrote in message
news:2j*************@uni-berlin.de...

"Randy Webb" <hi************@aol.com> wrote in message

news:U7********************@comcast.com...
Falkon wrote:
> "Rod Speed" <ro*******@yahoo.com> wrote in message
> news:2j*************@uni-berlin.de...

<--snip-->

>
> javascript:alert(document.getElementById("tblCellT VGuideResults").innerText) >
>>Same result, nothing happens at all, the address bar contents stays
>>highlighted but nothing changes on the main body of the window.
>>
>
> <snip>
>
> I get the "html" output (ie the tvguide) but it is in a MS Window alert box. >
> I can't even copy and paste it.

javascript:window.clipboardData.setData('text',doc ument.getElementById("tblC
ellTVGuideResults").innerText);void%200
In IE will copy it to the clipboard.


Doesnt here, the clipboard just has that string in it, from when I pasted

that to the address bar.

You *did* press Enter after you pasted that string to the address bar,
didn't you?


Clicked the GO button, actually.

And javascript:cn worked fine there, to show me its code.
Jul 23 '05 #31

"Rod Speed" <ro*******@yahoo.com> wrote in message news:2j*************@uni-berlin.de...

"rf" <rf@example.com> wrote in message news:mt*******************@news-server.bigpond.net.au...

"Rod Speed" <ro*******@yahoo.com> wrote in message
news:2j*************@uni-berlin.de...

"Randy Webb" <hi************@aol.com> wrote in message

news:U7********************@comcast.com...
> Falkon wrote:
> > "Rod Speed" <ro*******@yahoo.com> wrote in message
> > news:2j*************@uni-berlin.de...
>
> <--snip-->
>
> >
> >

javascript:alert(document.getElementById("tblCellT VGuideResults").innerText)
> >
> >>Same result, nothing happens at all, the address bar contents stays
> >>highlighted but nothing changes on the main body of the window.
> >>
> >
> > <snip>
> >
> > I get the "html" output (ie the tvguide) but it is in a MS Window

alert box.
> >
> > I can't even copy and paste it.
>
>

javascript:window.clipboardData.setData('text',doc ument.getElementById("tblC
ellTVGuideResults").innerText);void%200
>
> In IE will copy it to the clipboard.

Doesnt here, the clipboard just has that string in it, from when I pasted

that to the address bar.

You *did* press Enter after you pasted that string to the address bar,
didn't you?


Clicked the GO button, actually.

And javascript:cn worked fine there, to show me its code.


Worked fine this time tho, maybe it had timed out by the time I tried it the
last time. This time I got the normal display up in the usual way, then put that
javascript:window.clipboardData.setData('text',doc ument.getElementById("tblCellTVGuideResults").inne rText);void%200
into the address bar and it worked fine.

Thanks for that, have to consider whether its easier to do it like
that or to just capture the encoded text in the usual way and just
redo the decoding code into VBA and decode it myself.
Jul 23 '05 #32
Rod Speed wrote:
"Rod Speed" <ro*******@yahoo.com> wrote in message news:2j*************@uni-berlin.de...


<--snip-->
Clicked the GO button, actually.

And javascript:cn worked fine there, to show me its code.

Worked fine this time tho, maybe it had timed out by the time I tried it the
last time. This time I got the normal display up in the usual way, then put that
javascript:window.clipboardData.setData('text',doc ument.getElementById("tblCellTVGuideResults").inne rText);void%200
into the address bar and it worked fine.

Thanks for that, have to consider whether its easier to do it like
that or to just capture the encoded text in the usual way and just
redo the decoding code into VBA and decode it myself.


Create a Favorites for it, or the Links toolbar, and then anytime you
need it it's only a click away to get it to the clipboard.

Have two pages open. Yours and the website. Copy it from the website,
paste it into your own Textarea, and then submit the form and have it
posted in a database for you.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/
Jul 23 '05 #33

"Randy Webb" <hi************@aol.com> wrote in message news:Zq********************@comcast.com...
Rod Speed wrote:
"Rod Speed" <ro*******@yahoo.com> wrote in message news:2j*************@uni-berlin.de...


<--snip-->
Clicked the GO button, actually.

And javascript:cn worked fine there, to show me its code.

Worked fine this time tho, maybe it had timed out by the time I tried it the
last time. This time I got the normal display up in the usual way, then put that
javascript:window.clipboardData.setData('text',doc ument.getElementById("tblCellTVGuideResults").inne rText);void%200
into the address bar and it worked fine.

Thanks for that, have to consider whether its easier to do it like
that or to just capture the encoded text in the usual way and just
redo the decoding code into VBA and decode it myself.


Create a Favorites for it, or the Links toolbar, and then anytime you
need it it's only a click away to get it to the clipboard.

Have two pages open. Yours and the website. Copy it from the website,
paste it into your own Textarea, and then submit the form and have it
posted in a database for you.


I've got it all automated back in Access.

It goes and gets the specified number of days data for
the specified channels, from the specified web sites.
Most channel data comes from at least 2 web sites,
so it carrys on regardless with one web site down etc.

That was working fine with that foxtel site until they
decided to play silly buggers encrypting the data.

So its better to have the access app still get the
data from the websites completely automatically.
Jul 23 '05 #34

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.