> Please don't do it off-list, several of us could be interested.
In case anyone is interested, as Claude recommended, It was relatively easy
to check for the foreign script injection by myturfads.com. There is a
test page with the code located at http://www.uxb.net/adtest/ that will look
to s
> Just throwing ideas out there. :)
All my pontificating aside for this particular purpose I am just trying to
detect if the string "adx.myturfads.com" exists anywhere on the DOM.
For my sister, I've already stopped it from loading by editing the hosts
file on the PC to disallow that domain.
ebsite Design and Hosting Company
P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844
W: http://www.uxbinternet.com
W: http://www.ctbusinesslist.com
> -Original Message-
> From: Dave Watts [mailto:dwa...@figleaf.com]
> Sent: Tuesday, March 3, 2015 8:08 AM
> To: cf-talk
&g
28, Wolcott, CT 06716 - T:203-879-2844
W: http://www.uxbinternet.com
W: http://www.ctbusinesslist.com
> -Original Message-
> From: Dave Watts [mailto:dwa...@figleaf.com]
> Sent: Tuesday, March 3, 2015 8:08 AM
> To: cf-talk
> Subject: Re: (ot) JavaScript detecting foreig
> > Second, if you use TLS (SSL) exclusively, you should be able to prevent
> > this.
>
> I tested for this and yes it does prevent it. However that is not actually
> the point. The point is much bigger than the pennies they sole from my
> websites ad revenue. Maybe I am the only one but to me
On Mon, Mar 2, 2015 at 8:52 PM, UXB Internet
wrote:
> I apologize for this off topic post. A while back someone posted a thread
> where they were working on a script that would enumerate the DOM and detect
> foreign JS scripts running or loaded. I am looking to consult with that
> person off-l
Thanks Dave I do appreciate the information.
> First, my understanding is that this only happens for users of Comcast
public
> access hotspots, not for subscribed users:
>
> http://arstechnica.com/tech-policy/2014/09/why-comcasts-javascript-ad-
> injections-threaten-security-net-neutrality/
> It appears as if in some locations Comcast's proxies are intercepting
> advertising scripts (google/doubleclick) and replacing them with their own
> JS that substitutes their own contracted ads. I am looking for a way to
> detect this on a test page to determine how wide spread the practice is
> I developped a client side javascript error trackink tool and it helped
me a lot
> to debug my scripts, but I get many errors happening in foreign JS
scripts.
> I fixed my program to detect 5 or 6 of them and now the system is almost
> perfect.
Should have known it was you . What is happen
>>I am looking to consult with that person off-list
Please don't do it off-list, several of us could be interrested.
I developped a client side javascript error trackink tool and it helped me a
lot to debug my scripts, but I get many errors happening in foreign JS scripts.
I fixed my program to
I apologize for this off topic post. A while back someone posted a thread
where they were working on a script that would enumerate the DOM and detect
foreign JS scripts running or loaded. I am looking to consult with that
person off-list because I have a case where I need to do the same.
It app
, why wasn't IE
complaining about the code? (Rhetorical question)
-Original Message-
From: Stephens, Larry V [mailto:steph...@indiana.edu]
Sent: Tuesday, September 06, 2011 2:25 PM
To: cf-talk
Subject: Programming for an iPod - OT javascript/HTML question
I'm working on a
Without any examples, it is tough to help out.
Couple things I'll toss out as starting points:
1. Validate your HTML and your JS. It won't cure every problem but it
is an easy step and gets rid of a lot of easy to miss sources of
error.
2. If you are really looking at a mobile device (as opposed
Can you post a link?
On Tue, Sep 6, 2011 at 2:25 PM, Stephens, Larry V wrote:
>
> I'm working on a form in CF that displays just fine on a desktop/laptop but
> the javascript breaks in Safari once I introduce a .
>
> If anyone has a clue about this, please contact me off-list at
> steph...@indi
So you have an example you can see online? Is it only mobile safari that breaks
or does desktop safari as well?
On Sep 6, 2011, at 1:25 PM, "Stephens, Larry V" wrote:
>
> I'm working on a form in CF that displays just fine on a desktop/laptop but
> the javascript breaks in Safari once I intr
I'm working on a form in CF that displays just fine on a desktop/laptop but the
javascript breaks in Safari once I introduce a .
If anyone has a clue about this, please contact me off-list at
steph...@indiana.edu
Thanks.
~|
O
That's ok. Having duplicate names is cool.
Adrian
> -Original Message-
> From: Chad Gray [mailto:cg...@careyweb.com]
> Sent: 30 July 2009 16:46
> To: cf-talk
> Subject: RE: OT javascript
>
>
> When you submit it makes a comma delimited list of ID&
Chad...
Here's what I'd suggest...leave the name value as is, even though that's not
the best idea. Add an ID attribute to each, with an increasing numeric value:
cb1, cb2, cb3, etc.
Give each combobox the same class, comboBox or something like that.
Then, you could try something like this:
Original Message-
> From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com]
> Sent: Thursday, July 30, 2009 11:38 AM
> To: cf-talk
> Subject: Re: OT javascript
>
>
> Why would you have two selects with the same name? Radio Buttons? Sure.
> But not selects...
&g
ginal Message-
From: Chad Gray [mailto:cg...@careyweb.com]
Sent: Thursday, July 30, 2009 10:20 AM
To: cf-talk
Subject: OT javascript
Say I have two select inputs on one page and they are named the same.
Please Select
1
Please Select
1
I want to write javascript to check that both of these ar
e-
> From: Chad Gray [mailto:cg...@careyweb.com]
> Sent: 30 July 2009 16:20
> To: cf-talk
> Subject: OT javascript
>
>
> Say I have two select inputs on one page and they are named the same.
>
> Please Select
> 1
>
>
> Please Select
> 1
>
>
>
Why would you have two selects with the same name? Radio Buttons? Sure.
But not selects...
Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
Co-Author of "Learning Ext JS"
http://www.packtpub.com/learning-ext-js/book
_
h
You could set different IDs for them, then reference these...
Something like
Please Select
1
Please Select
1
document.getElementById("sel1").options
and
document.getElementById("sel2").options
2009/7/30 Chad Gray :
>
> Say I have two select inputs on one page and they are named th
Say I have two select inputs on one page and they are named the same.
Please Select
1
Please Select
1
I want to write javascript to check that both of these are not left blank or in
their default stage of "Please Select".
Can I do this in javascript ID[0] to get the value of the first one?
> Someone told me that IE cannot talk to an embed tag, only an object tag, but
> I believe
> the ID vs NAME issue is tripping me up.
I don't think IE uses the EMBED tag at all. Give your OBJECT an ID of
its own, and use that when you're in IE.
Dave Watts, CTO, Fig Leaf Software
http://www.figle
There's probably something in jquery that'll do it on one line of
cross browser code...
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
2009/7/9 Michael Muller :
>
> Ok, I need some Javascript help.
>
> I just cannot get this script (residing in an iframe)...
>
>
Ok, I need some Javascript help.
I just cannot get this script (residing in an iframe)...
parent.thisMovie('studio_loader_embed').reloadClipart();
parent.thisMovie('studio_loader_embed').showTab(2);
...to go through this script...
function thisMovie(movieName) {
if (navigator.appName.ind
> -Original Message-
> From: Ian Skinner [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 12, 2008 4:15 PM
> To: cf-talk
> Subject: Re: OT JavaScript question.
>
> Adrian Lynch wrote:
> > Or do you mean with?
> >
> > with someObject {
>
On Wed, Nov 12, 2008 at 1:14 PM, Ian Skinner <[EMAIL PROTECTED]> wrote:
>
> Yes that is the one I was looking for!. I found 'with' to be a very
> poor search term on Google, or any search engine for that matter.
>
heh. reminds me of http://bash.org/?514353 :)
--
I have failed as much as I hav
Adrian Lynch wrote:
> Or do you mean with?
>
> with someObject {
> var1 = "not";
> var2 = "sure";
> var3 = "about";
> var4 = "this";
> var5 = "syntax";
> var6 = "or";
> var7 = "whether";
> var8 = "it's a JavaScript";
> var9 = "thing or not";
> }
it's a JavaScript";
var9 = "thing or not";
}
alert(someObject.var1);
Adrian
Building a database of ColdFusion errors at http://cferror.org/
-----Original Message-
From: Ian Skinner
Sent: 12 November 2008 19:34
To: cf-talk
Subject: OT JavaScript question.
Quick que
You can do this:
Var something = somethingelse = onemorething = 0;
-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2008 1:34 PM
To: cf-talk
Subject: OT JavaScript question.
Quick question that I just can not think of the right terms to find
var myObj = {
variableA: 'some value',
variableB: 12,
variableC: function(){
// a function
}
};
I think, you'll want to test.
Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://bl
Quick question that I just can not think of the right terms to find in
Google.
There is a syntax short cut in JavaScript if you are assigning several
properties to the same object. What is it?
~|
Adobe® ColdFusion® 8 softwar
I use this:
http://tredosoft.com/Multiple_IE
You can install 3.0 through 6.0 as stand-alone. I then have IE 7 as my
system install.
On Fri, Jul 11, 2008 at 6:30 PM, Claude Schneegans <
[EMAIL PROTECTED]> wrote:
> >>You might want to take a look at IE7 stand alone.
>
> I will sure do.
> Thanks.
>>You might want to take a look at IE7 stand alone.
I will sure do.
Thanks.
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
~~
You might want to take a look at IE7 stand alone. It allows you to run IE 6
and 7 on the same machine.
http://tredosoft.com/IE7_standalone
I need to support both IE 6 and 7. This allows you to run both side by side.
Very handy.
~G~
On Fri, Jul 11, 2008 at 4:57 PM, Claude Schneegans <
[EMAIL PR
>>Companion.JS that works with it was helpful in my case - not perfect
but helpful. (Better than nothing, certianly.)
I tried it, but unfortunately it requires the MS debugger, and for some
reason,
I've never been able to get this piece od &?%$! to work under IE6.
All I get is a new window with
>>I haven't worked with DebugBar itself, yet, but Companion.JS that works
with it was helpful in my case - not perfect but helpful. (Better than
nothing, certianly.)
If you are not already aware of it, the tool of choice for many developers
is Firebug: http://getfirebug.com/
It is absolutely indi
-Talk
Subject: Re: (ot) javascript problem
>>You can try this.
http://www.debugbar.com/
Hi, are you using it yourself?
I tried it, there are a lot of interesting options, however two main flaws:
1º the error message is still the same stupidity:
- it does not give the true file name the e
>>Did you try CompanionJS? I think it is just what you need.
Ah ha! Now this looks better ;-)
Thanks.
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
T
Did you try CompanionJS? I think it is just what you need.
http://www.my-debugbar.com/wiki/CompanionJS/HomePage
~G~
On Fri, Jul 11, 2008 at 1:29 PM, Claude Schneegans <
[EMAIL PROTECTED]> wrote:
> >>Actually I have it installed but I rarely use IE except for cross
> browser
> css issues.
>
>>Actually I have it installed but I rarely use IE except for cross browser
css issues.
I see. In my case, most my Javascript is used in my CMS used by
administrators,
and none of them use FF, so developing for IE is a must.
--
___
REUSE CODE! Use custom tag
Actually I have it installed but I rarely use IE except for cross browser
css issues. (i.e. after I work out all the gremlins using Firebug). I have
yet to run into a IE only JS bug.
Here try CompanionJS. It is geared more toward JS debugging:
http://www.my-debugbar.com/wiki/CompanionJS/HomePage
>>You can try this.
http://www.debugbar.com/
Hi, are you using it yourself?
I tried it, there are a lot of interesting options, however two main flaws:
1º the error message is still the same stupidity:
- it does not give the true file name the error occurs,
- it gives the line number, bu
On Tue, Jul 8, 2008 at 6:42 AM, Stephens, Larry V wrote:
> I'm using a DHTML javascript menu (from DynamicDrive) that works fine in
> Mozilla (shows no errors in the error console). The sample works fine in IE
> but my revision (no
Thanks again for all the suggestions.
I figured it out by taki
Maybe:
this.resizeTo(Wdth,Hght)}
to
this.resizeTo(Wdth,Hght);
}
and
this.style.zIndex=RcrsLvl+Ztop}
to
this.style.zIndex=RcrsLvl+Ztop;
}
On Tue, Jul 8, 2008 at 11:53 AM, Stephens, Larry V <[EMAIL PROTECTED]> wrote:
> On Tue, Jul 8, 2008 at 6:42 AM, Stephens, Larry V wrote:
>> I'm using a
On Tue, Jul 8, 2008 at 6:42 AM, Stephens, Larry V wrote:
> I'm using a DHTML javascript menu (from DynamicDrive) that works fine in
> Mozilla (shows no errors in the error console). The sample works fine in IE
> but my revision (no
Thanks for all the suggestions.
I installed the debug bar that
Look for a trailing comma in a javascript array perhaps? That one
gets me in IE every once in a while.
On Tue, Jul 8, 2008 at 6:42 AM, Stephens, Larry V wrote:
> I'm using a DHTML javascript menu (from DynamicDrive) that works fine in
> Mozilla (shows no errors in the error console). The sample
place the
include call with an actual script block. Then IE might tell you where in
that file the error is.
andy
-Original Message-
From: Stephens, Larry V [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2008 7:43 AM
To: CF-Talk
Subject: (ot) javascript problem
I'm usi
The best means I have found of working out JS errors in IE is to create
a project in Visual Web Developer 2008 (free). Launch the project which
will open a browser window (IE needs to be set as your default browser)
then navigate to your page. When the error occurs choose to debug the
error,
Thanks - installing now.
-Original Message-
From: Gerald Guido [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2008 8:58 AM
To: CF-Talk
Subject: Re: (ot) javascript problem
You can try this.
http://www.debugbar.com/
On Tue, Jul 8, 2008 at 8:42 AM, Stephens, Larry V <[EMAIL PROTEC
>>Any clues on how to trace javascript errors in IE?
Error messages in IE are simply retarded.
The error could be in any file, and it does not even give the file name.
Furthermore, the line number is always one unit higher.
Then your error must be in one of the included files, at line 347.
--
_
If things aren't working after you made a change, show us a before and after
sample of the code.
Adrian
-Original Message-
From: Stephens, Larry V [mailto:[EMAIL PROTECTED]
Sent: 08 July 2008 13:43
To: CF-Talk
Subject: (ot) javascript problem
I'm using a DHTML javascript
You can try this.
http://www.debugbar.com/
On Tue, Jul 8, 2008 at 8:42 AM, Stephens, Larry V <[EMAIL PROTECTED]>
wrote:
> I'm using a DHTML javascript menu (from DynamicDrive) that works fine in
> Mozilla (shows no errors in the error console). The sample works fine in IE
> but my revision (no
I'm using a DHTML javascript menu (from DynamicDrive) that works fine in
Mozilla (shows no errors in the error console). The sample works fine in IE but
my revision (no revision to code other than adding menu elements) won't even
show up in IE.
I see an error icon but it tells me absolutely not
Ah... that makes sense.
Thanks everyone for the help!
> -Original Message-
> From: Greg Morphis [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 11, 2008 1:39 PM
> To: CF-Talk
> Subject: Re: (ot) javascript help
>
> because isn't an element of ?
> try rem
to be.
-- Josh
- Original Message -
From: "Chad Gray" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Wednesday, June 11, 2008 10:34 AM
Subject: (ot) javascript help
> Can any javascript gurus tell me why this does not work? I want the
> tag to display on t
There's an easier way to do this...
Rather than using a br and assigning an id to it, use a div. Divs have built
in properties that aren't included in br tags.
-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2008 12:34 PM
To: CF-Talk
Su
I may be way off-base, but do you need that trailing "e" in "FTDTYPEe"?
Could it be the missing "e" from "Firbug"?
m!ke
On Wed, Jun 11, 2008 at 10:34 AM, Chad Gray <[EMAIL PROTECTED]> wrote:
> Can any javascript gurus tell me why this does not work? I want the
tag to display on the page so I ge
because isn't an element of ?
try removing the tabbedTicket or use getElementById
On Wed, Jun 11, 2008 at 12:34 PM, Chad Gray <[EMAIL PROTECTED]> wrote:
> Can any javascript gurus tell me why this does not work? I want the tag
> to display on the page so I get a carriage return between the two
try document.getElementById("FTDTYPEe"). And then go get some library
that will take care of all that for you (jQuery, Prototype, etc.).
cheers,
barneyb
On Wed, Jun 11, 2008 at 10:34 AM, Chad Gray <[EMAIL PROTECTED]> wrote:
> Can any javascript gurus tell me why this does not work? I want the
Can any javascript gurus tell me why this does not work? I want the tag
to display on the page so I get a carriage return between the two pieces of
text "Foo" and "Moo". I get this error in Firbug:
document.tabbedTicket.FTDTYPEe has no properties
function makeNewEntry() {
document.tabbedTic
Thanks. Because of popup blockers I guess a regular href will have to do.
-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Friday, May 16, 2008 4:21 PM
To: CF-Talk
Subject: RE: (ot) Javascript Question...
window.open()
most popup blockers will block it though
window.open()
most popup blockers will block it though.
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Friday, May 16, 2008 4:14 PM
To: CF-Talk
Subject: (ot) Javascript Question
I have a form that posts to itself. Once submitted, I create a dynamic url
on the fly.
Using javascript, how can I submit the form to itself and open the new url
in another browser window?
Can this be done w/o creating a 'go between' cf template?
Thanks, Che
> -Original Message-
> From: Rey Bango [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 12, 2008 3:50 PM
> To: CF-Talk
> Subject: Re: OT Javascript - when is an element visible
>
> In Ext, the Element class has built-in methods to get just about
> anything
I'm not sure if scrollTop is part of the spec for DOM (or widely
supported -- innerHTML for example is not but widely supported).
Assuming that scrollTop is supported in the browser though, I'd think
something like this might work:
var ct = container.scrollTop;
var ch = container.offsetHeight;
In Ext, the Element class has built-in methods to get just about
anything you need from an element, including position info.
http://extjs.com/deploy/dev/docs/?class=Ext.Element
jQuery, out of the box, can provide offset, width and height only and
enhanced capabilities via the dimensions plugin.
> Doesn't sound fun though-- maybe someone will post and show us a
> pre-built function in the prototype library or something. :)
Many libraries include a method to get the coordinates of any element.
Right now I am thinking just about the one available in Mootools:
http://docs.mootools.net/Eleme
I know there is a JS method called .scrollIntoView() (IE only??) which
will cause the an element to scroll to where it is visible. Not sure
how to tell if it is visible though. I suppose if you know the edges of
the viewable area, you can calculate the position of the element in
question via its
Sorry for the OT...
I have a parent div, which contains many child divs. The parent div is set
to scroll when it's content is to big.
What I'm trying to work out, is a way to find out when one of those child
divs is visible and when it's not.
I thought maybe scrollTop or offsetTop but I'm low on
08 3:49 PM
To: CF-Talk
Subject: Re: OT: javascript to keep a user from navigating away
> I would like to make javascript that when the window.onUnload is
> fired to pop up a confirm() saying "hey if you leave now your form
> information will not be saved. Do you wish to contin
> I would like to make javascript that when the window.onUnload is
> fired to pop up a confirm() saying "hey if you leave now your form
> information will not be saved. Do you wish to continue?". But I think
> once onUnload fires there is no stopping the user from leaving the
> page. Can you canc
I would like to make javascript that when the window.onUnload is fired to pop
up a confirm() saying "hey if you leave now your form information will not be
saved. Do you wish to continue?".
But I think once onUnload fires there is no stopping the user from leaving the
page.
Can you cancel o
missing a comma after left=450 ?
On 8/21/07, Steve LaBadie <[EMAIL PROTECTED]> wrote:
> I have created a mouse over effect and it works fine. The only problem
> I am having is that the top= in the below example does not work in
> Firefox. Are there any ideas to resolve this issue? The window s
I have created a mouse over effect and it works fine. The only problem
I am having is that the top= in the below example does not work in
Firefox. Are there any ideas to resolve this issue? The window stay at
the top instead of coming down 350px.
Code: