thedarkness

This has very interesting possibilities;

http:// www.

javascript

 kit.com/java

tutor

 s/external

php

 .shtml

Or does it? I must be tired............  Applause

Cheers,
td

perkiset

Actually a nice article describing what I do a lot of... in no documentation does it describe that JS files must end in JS, or images must end in .gif or jpg, or css files must end in css... what if they all were .

php

  files and you had the IP address of the surfer... what if rather than cloaking an entire page, for example, you only cloaked portions of the JS or CSS files or even the images...?
What kind of trickiness could be had there?  Applause Applause

And back to nonBH stuff...
I started using this technique in early 2000 when I had trouble getting a "Please Wait" page to come up with an animated GIF while I processed a transaction. The problem was that if I POSTed something (so that I could start the transaction) the GIF stopped moving in IE... bastards. So my final fix was to jump to a page with an animated GIF that called for a JS src... but THAT was the actual transactor. The page continued to animate but IE held on for as long as it needed to for the "

javascript

  source" to come down... well, as soon as my processing was done the only

javascript

  that it got was "top.location='/thankYouForProcession.html'" ... so the user had the experience of "something's happening" (the animated GIF) while I worked and the moment I was done the site moved on.

/p

dirk

Just tested it with a CGI script which is also working.

The script is called by external

JavaScript

 :


<script type="text/

javascript

 " src="external-js.cgi"></script>


external-js.cgi:


#!/usr/bin/

perl

 

use strict;
use warnings;

my $remote_addr = $ENV{'REMOTE_ADDR'};

print "Content-type: application/x-

javascript

  ";

print "document.write("Your IP address is: $remote_addr"Applause";

exit;

nop_90

quote author=perkiset link=topic=165.msg995#msg995 date=1178477860

Actually a nice article describing what I do a lot of... in no documentation does it describe that JS files must end in JS, or images must end in .gif or jpg, or css files must end in css... what if they all were .

php

  files and you had the IP address of the surfer... what if rather than cloaking an entire page, for example, you only cloaked portions of the JS or CSS files or even the images...?
What kind of trickiness could be had there?  Applause Applause

My son has this science fair project which is on a webserver that forbid .js files.
but if <>i he put the

javascript

  in like .txt files .......

perkiset

Applause <>Mary's and my Our kids' science projects are always fun

thedarkness

On this note I'm doing a small project for my kid's school and I was thinking of doing most of it in js/

AJAX

  and I thought maybe <>I could get you guys to do all the work we could do it as a collaborative project? I can post some prelim stuff I've done and we could see how it progresses from there. Seriously I'm happy to do most/all of the work but I'd appreciate some feedback to get the design and implementation right.

Let me know what you think,
td

perkiset

Prolly be a great exercise, love to help if I can.

/p

nop_90

quote author=thedarkness link=topic=165.msg1011#msg1011 date=1178511600

On this note I'm doing a small project for my kid's school and I was thinking of doing most of it in js/

AJAX

  and I thought maybe <>I could get you guys to do all the work we could do it as a collaborative project? I can post some prelim stuff I've done and we could see how it progresses from there. Seriously I'm happy to do most/all of the work but I'd appreciate some feedback to get the design and implementation right.

I will provide my standard useless pointless remark  Applause
yes the project would be much simpler if you would use a language like squirrel http://squirrel-lang.org/default.

asp

 x

Also will attempt to get topics sidetracked as much as possible Applause

thedarkness

quote author=nop_90 link=topic=165.msg1053#msg1053 date=1178681975


yes the project would be much simpler if you would use a language like squirrel http://squirrel-lang.org/default.

asp

 x



Or perhaps some other rodent based language like Gerbil?

Since it's in the

Javascript

  forum I'm gonna go with..... hmmmmm......

javascript

 !

I believe the squirell forum is still under construction......  Applause

Cheers,
td


Perkiset's Place Home   Politics @ Perkiset's