Any way to extract Javascript to be viewed offline?

The geek forum. PHP, Perl, HTML, hardware questions etc.. it's all in here. Got a techie question? We'll sort you out. Ask your questions or post a link to your own site here!

Any way to extract Javascript to be viewed offline?

Postby Bobtheduck » Sat Jul 30, 2005 1:02 pm

I am trying to allow an applet to be shown on a laptop that will not be online, and my attempts at extracting it or saving complete webpages and such haven't worked... Any ideas?

This is the site I want the applet from:

http://micro.magnet.fsu.edu/primer/java/scienceopticsu/powersof10/

While I've had success with isolating Quicktime and Flash files with 99.9 percent accuracy, I thought beforehand than Isolated javascript files wouldn't work on their own... Is there any way I can show this file without being online? I don't think just storing it in the cache will work, either... IE and Firefox are both female dogs when it comes to trying to view cached material offline, for some reason, though older versions of IE weren't bad...

Any ideas?
https://www.youtube.com/watch?v=evcNPfZlrZs Watch this movie なう。 It's legal, free... And it's more than its premise. It's not saying Fast Food is good food. Just watch it.
Legend of Crying Bronies: Twilight's a Princess
Image
User avatar
Bobtheduck
 
Posts: 5867
Joined: Mon Aug 25, 2003 9:00 am
Location: Japan, currently. Gonna be Idaho, soon.

Postby Godly Paladin » Sat Jul 30, 2005 7:13 pm

I've often wished the same thing, especially when I was a kid. Not for the glorious purposes of science, mind you, but so I could play all those online Java games without being connected. :lol:
ImageImage
User avatar
Godly Paladin
 
Posts: 2016
Joined: Sun May 23, 2004 10:21 am
Location: Missouri

Postby LorentzForce » Sun Jul 31, 2005 2:22 am

Easy.

Notice that the Java class file is called upon from an applet tag. All you have to do is save the Java class (which in this case should be this), make a tiny HTML file that has just the above applet code call (as well as other HTML tags required, like <html> and <body> etc etc), and just view that. Just make sure the path set is correct and all, according to where you saved the files and etc.

[edit] For additional note, that's not Javascript, it's Java. There is a big difference between the two. You're extracting a Java program, not Javascript.
Image
User avatar
LorentzForce
 
Posts: 1263
Joined: Sun Jun 01, 2003 3:18 am
Location: Between B and E

Postby Mithrandir » Mon Aug 01, 2005 9:17 am

Thanks LF. I was about to post that. lol
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.

Postby Fsiphskilm » Thu Aug 04, 2005 4:37 pm

I can't he
Last edited by Fsiphskilm on Mon Jan 16, 2017 7:54 pm, edited 1 time in total.
I'm leaving CAA perminantly. i've wanted to do this for a long time but I've never gathered the courage to let go.
User avatar
Fsiphskilm
 
Posts: 3853
Joined: Mon Nov 03, 2003 12:00 pm
Location: USA

Postby Godly Paladin » Fri Aug 05, 2005 2:01 pm

Cowardly, pathetic, and confusing.


You said it.
ImageImage
User avatar
Godly Paladin
 
Posts: 2016
Joined: Sun May 23, 2004 10:21 am
Location: Missouri


Return to Computing and Links

Who is online

Users browsing this forum: No registered users and 188 guests