473,545 Members | 1,479 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Troubleshooting automated appearance of a JS tag with 127 loopback in a web page

I'm caught in a classic finger-pointing situation.

My hosting company's server appears to be automatically inserting JS
tags into a JS-free html page that has an image inked to a 2nd page
with JS.

The problem may well be that I am calling JS incorrectly. My host co.
insists my ''web publishing software' is doing this. I can prove it
isn't by deleting the offending code with an impotent text editor like
Notepad, upload it with a WS_FTP and view it's contents. The code
insertion occurs when the JS-containing page is accessed from the
'front' page.

I am going to experiment with accessing the JS page directly so there
is no linking 'calling' page to dump it's trash into.

excerpt from an index.html page in my public_html directory:

<html>
<head>
<meta name="GENERATOR " content="">
<meta name="Keywords" content="galler y, Holland, Michigan, framing,
watercolor, acrylic, oil paintings, photography,Tan is, Vanderhill">
<meta name="Descripti on" content="Fine art gallery &amp; custom
picture framing.">
<meta name="revisit-after" content="7 days">
<title>uptownga llery.org/index.html</title>
<script language='javas cript'
src='http://127.0.0.1:1025/js.cgi?pcaw&r=1 9629'></script>

</head>
<body>

....more html in the middle...

end of the '1st' page has a second line inserted (sometimes multiple
appearances of this)
after the closing body & html tags
</body>
</html>
<script language='javas cript'>postambl e();</script>
So, I have a 2-3 questions:

1) Any idea how/why a server can access someone's page and why it would
list 127 addresses in there. I read IANA & RFFC3330 references but that
only indicates it's a self-identification IP address that should not
appear anywhere on any network. Obviously it goes somewhere in the path
from a user back to one's self. But WHO is the 127 being
referenced...me or the host server?

2) Is there a problem with linking from an html page called index.html
to another also called index.html but another tree level lower (another
subdirectory)? Should a page containing JS be called .js instead of
..html?
www.uptowngallery.org/index.html is the calling page in the
(transparent) directory public_html.

There is one large image in this page that calls
www.uptowngallery.org/Tanis/index.html .

This page contains JS. Accessing this page thru the 'parent' index page
causes the JS loopback & postamble mess. I only become aware of it
because some browsers 'choke' on it (hang halfway without loading the
page) and once it's there my html editor gives a script error upon
opening the 'corrupted' page.
------

I just looked and now see the same

<script language='javas cript'
src='http://127.0.0.1:1027/js.cgi?pcaw&r=3 1322'></script>

inserted into the Tanis/index.html JS page now. This is a new
development. That page already had a JS identifier, so it looks like
the inserted code is a self-contained script. It has start and finish
script tags.

The Tanis directory also has index1.html, index2.html and index3.html.
They appear to be called my the index.html page in the same directory
but they work fine with JS and a .html extension, nor do they have the
'mystery' code lines.

If I understood this, I could either fix my code 'grammar' or yell
louder at my hosting company.

The script was generated by ImageWalker.

Thanks

Murray

Feb 18 '06 #1
5 3492
"murrayatuptown gallery" <mu************ *******@yahoo.c om> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.com.. .
I'm caught in a classic finger-pointing situation.

My hosting company's server appears to be automatically inserting JS
tags into a JS-free html page ...


[snip]

I stopped reading your post after the above because:

If you page is "JS-free" and there's JS in it when viewed then they did it!

(If it's not "JS-free" than why claim that it is? How about a URL.)
Feb 18 '06 #2
Ah, you stopped reading before the URL...

I meant there is no JS in it by design, until something corrupts it.
There are a couple banner/link things that call cgi on other sites and
I don't know what they have, but they have worked for years. The only
thing that has changed is relocated to new server/plan at host co. and
am experimenting with different image display pages that use JS (Image
Walker software)

www.uptowngallery.org
(loads index.html by default)

click on the large image to link to the first JS page or
to get to it directly, www.uptowngallery.org/Tanis/index.html
proper or not, I count on the index.html in a given directory loading
by default (i.e., www.uptowngallery.org/Tanis/)

Thanks

Murray

Feb 18 '06 #3
"murrayatuptown gallery" <mu************ *******@yahoo.c om> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.com.. .
Ah, you stopped reading before the URL...

I meant there is no JS in it by design, until something corrupts it.
There are a couple banner/link things that call cgi on other sites and
I don't know what they have, but they have worked for years. The only
thing that has changed is relocated to new server/plan at host co. and
am experimenting with different image display pages that use JS (Image
Walker software)

www.uptowngallery.org
(loads index.html by default)

click on the large image to link to the first JS page or
to get to it directly, www.uptowngallery.org/Tanis/index.html
proper or not, I count on the index.html in a given directory loading
by default (i.e., www.uptowngallery.org/Tanis/)

1) Your right frame isn't fully visible under 1024x768 even full screen!

2) Change all references to
<script language=javasc ript>
to
<script type="text/javascript">

3) "disable_right_ click" doesn't do what it says.

Try right-clicking and, while still holding the mouse button down,
press Enter to clear the dialog -- see the context menu?

Remove all of the following:

function disable_right_c lick(e)
{
var browser = navigator.appNa me.substring ( 0, 9 );
var event_number = 0;
if (browser=="Micr osoft")
event_number = event.button;
else if (browser=="Nets cape")
event_number = e.which;

if ( event_number==2 || event_number==3 )
{
alert ("Right Mouse Button Is Disabled");
return (false);
}

return (true);
}
function trap_images_mou se_events ()
{
if ( document.images )
{
for (var pic=0; pic<document.im ages.length; pic++)
document.images[pic].onmousedown = disable_right_c lick;
}
}
window.onload = trap_images_mou se_events;
</script>
<body>

and replace it with

<body oncontextmenu=" return false">

But that is canceled (or so I'm told) by visiting this link:

javascript:void (document.oncon textmenu=null)

Besides, all of the images are in the browser's cache.
How To Block Right Click
http://forums.aspfree.com/html-help-...-23799.html#po
st193345
Feb 18 '06 #4
murrayatuptowng allery wrote:
I'm caught in a classic finger-pointing situation.

My hosting company's server appears to be automatically
inserting JS tags into a JS-free html page that has an
image inked to a 2nd page with JS. <snip> <script language='javas cript'
src='http://127.0.0.1:1025/js.cgi?pcaw&r=1 9629'></script>

</head>
<body>

...more html in the middle...

end of the '1st' page has a second line inserted (sometimes
multiple appearances of this)
after the closing body & html tags
</body>
</html>

<script language='javas cript'>postambl e();</script>

<snip>

These are the symptoms of a content inserting/re-writing proxy operating
on _your_ computer. These proxies may take the form of Internet
security/firewall software, add-blockers, etc (and may include some
flavours of spy-ware).

Richard.
Feb 18 '06 #5
Yeah, the right click block seemed kind of unpredictable to me...it was
a checkbox option so I selected it . Not urgent.

Proxy thing, that's interesting...I 'll look into that.

I think but have to verify that this problem appears regardless of
which computer I access it from.

Murray

Feb 20 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
6469
by: sage703 | last post by:
Hi, we just started receiving the following error messages about 3 weeks ago. We don't get them all the time, or even on the same pages necessarily, but we get them from time to time and our sql server connection is slower in the last three weeks also. Our database is remotely hosted, and the programmers are also offsite, so we are trying to...
6
3358
by: Anil Kumar Saharan | last post by:
Hi, I have a loopback connection using ODBC in the DLL initialization code of the SQL Server ESP Module (SQL Server 2000). The loopback connection works fine when the DSN is specifed with the "NT Authentication", however the same fails when specified with the "SQL Server user authentication". I have tried
5
1908
by: Maximus | last post by:
Guys, I need to make an automated script that runs every x seconds without using a CRON job. I heard there was a way doing it only in PHP. If you know any function that can be used please inform me about it.
2
2694
by: Jeff Davis | last post by:
I have virtual hosted users on a server and some of them have a postgresql database. I'm concerned about the outside possibility that a user could create an infinite loop and fill up the partition on which everyone's database resides. Anyway, it occured to me that I could create a special file for each database user of limited size, and...
5
2500
by: Salad | last post by:
I have a textbox for storing the URL to a web page. I figured the person could simply copy the URL from IE and paste it into the text box. The client would like to have a more automated process. We came upon one "glitch". We pasted the URL into the Access text box and went back to it and it didn't go to the right page. The reason is that...
6
3045
by: brettev | last post by:
World, I work at a university where the professors have a system to input grades for assignments and calculate final grades, which is output to an excel file. they are then required to get on a different system and click radio buttons in a form to input final grades. i would like to automate this by doing some sort of automated form...
10
6666
by: Daniel Peterson | last post by:
I'm responsible for a pair of IIS 6 webservers that run our production ASP.Net application. We push code on a monthly basis, and about two weeks after our October code push, we started to run into occasional webserver errors. The application pool is configured to run as a domain user which has permissions to the web code. When we have...
2
2068
by: eliezerchoo | last post by:
Hello, I was successfully created a C# network internal loopback test in same machine (1 PC). My program consisted of client and server. It's can do the internal loopback with IP 127.0.0.1 when run the server.exe follow by client.exe. I dont know how to ceate a C# network external loopback test. I used the customize external network port...
0
1600
by: backi | last post by:
Hey there, ive got a problem with receiving data from the loopback device. The "sender-software" is a "blackbox" i dont know much about, beside that it sends UDP Packets. I'm able to set the address it uses to send, to the ip address of my network interface (192...) and to the loopback-device (127...). My c-programm trys to read the...
0
7457
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7391
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7802
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7410
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7746
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5962
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5320
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3438
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
693
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.