Hello.
I found a lot of hot-links in the form, for example:
<img src='http://www.my-works.org/images/faces/wave1.gif' />
that points directly on the images on my site.
Actually I deny this type of links by using RewriteRule Apache meccanism.
I would like anyway, to send a javascript to browser as a response of this
type
of request. This javascript should create the image on-fly directly on
browser site.
How can I do it?
Thanks
Misha 8 1257
in news:bu******** **@fata.cs.inte rbusiness.it,
misha typed: Hello.
I found a lot of hot-links in the form, for example: <img src='http://www.my-works.org/images/faces/wave1.gif' /> that points directly on the images on my site.
Actually I deny this type of links by using RewriteRule Apache meccanism.
I would like anyway, to send a javascript to browser as a response of this type of request. This javascript should create the image on-fly directly on browser site.
How can I do it?
Thanks Misha
If I understand correctly.... instead of denying the image, you could simply
redirect to another image. yes???
> If I understand correctly.... instead of denying the image, you could
simply redirect to another image. yes???
It is simple to redirect to another image on my site.
I would like to send a javascript instead
Misha
On Wed, 14 Jan 2004 14:54:25 +0100, misha <in**@my-works.org> wrote: It is simple to redirect to another image on my site. I would like to send a javascript instead
Surely, if a browser is expecting image data[1], you should only send
image data. If you send mark-up, wouldn't the browser just ignore it as it
wasn't expecting it?
Mike
[1] That is, it sends a HTTP request for http://www.yoursite.com/someImage.gif
--
Michael Winter M.******@blueyo nder.co.invalid (replace ".invalid" with ".uk" to reply)
> Surely, if a browser is expecting image data[1], you should only send image data. If you send mark-up, wouldn't the browser just ignore it as it wasn't expecting it?
Thanks for response. You are right.
I would like to know if there is some method to make browser change it's
mind
and execute my script.
Misha
misha wrote: If I understand correctly.... instead of denying the image, you could
simply
redirect to another image. yes???
It is simple to redirect to another image on my site. I would like to send a javascript instead
Misha
You cannot send javascript in place of an image, but you can create an
image that says your message, and send it in replacement.
You can also use PHP, if you want to send back dynamic images.
Brian
> You cannot send javascript in place of an image, but you can create an image that says your message, and send it in replacement.
You can also use PHP, if you want to send back dynamic images.
Thanks
Misha
On Wed, 14 Jan 2004 16:20:31 +0100, misha <in**@my-works.org> wrote: Surely, if a browser is expecting image data[1], you should only send image data. If you send mark-up, wouldn't the browser just ignore it as it wasn't expecting it?
Thanks for response. You are right.
I would like to know if there is some method to make browser change it's mind and execute my script.
I very much doubt it.
With links (<A href="...), the browser is free to interpret and render the
data according to its type, whether that be markup, image or sound (etc)
data. However, with IMG elements, the browser is being told explicity that
the data is an image; it should be interpreted and displayed as such. At
best, you could always return an image like this one: http://www.mlwinter.pwp.blueyonder.co.uk/steal.gif
It's a 1024x768, two-colour GIF and only 4800 bytes. It would have a low
impact on bandwidth and be quite effective at making your point. I know of
a site that does this sort of thing be cause of their massive bandwidth
problems (they actually return a 32767x32767 plain white GIF at just under
710 kilobytes). They also check the server logs and ban requests that
originate from sites that link to them without permission.
Mike
--
Michael Winter M.******@blueyo nder.co.invalid (replace ".invalid" with ".uk" to reply)
Thanks for your response.
I thought to send an ads invocation script that I use on my site, but it
seems impossible.
Misha This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: valerian dinca |
last post by:
Hi,
This is my latest article for your consideration.
If you think that this article could interest your subscribers
it is free to reprint in your ezine and/or newsletter as long as you:
1. Print the article in its entirety.
2. Print the resource box with the article in it's entirety.
Please notify me if you use the article.
|
by: chris hughes |
last post by:
Can anyone please tell me how to create a javascript that I can place in any
page that will disable all the links or just change all the hrefs to #
Many Thanks
Chris Hughes
|
by: Chris |
last post by:
I'm using eight links listed horizontally as a menu on my site. I'm
using font-variant:small-caps and they are padded so that they mimic
buttons. My gripe is with the way IE handles the focus rectangle on
these links. It insists on drawing this crazy shape that traces the
text, which with small caps looks rather assinine. Firefox handles the
same task very gracefully (yeah Gecko!) and I would like to force IE to
do the same.
The site...
|
by: Isabelle |
last post by:
Hello all,
I want two sets of links to do different things; one set within *content*
and the other *navigational* elements. In particular I want the *hover*
rollover effect to work differently in each of those sets.
How do I do this in CSS? Class function... two style sheets? I'm lost,
please help! : =)
Newbie to CSS,
|
by: Jan Tuxen |
last post by:
Jakob Nielsen in his most recent Alertbox
(http://www.useit.com/alertbox/20040503.html) tells web authors to
change the color of visited links.
I agree to his purpose: Help users understand where they have been. I
also agree to the background: Too many web authors keep uniform link
colors or their pages, thereby confusing the users.
What I have a hard time agreeing to is his conclusion that web authors
should deliberately change the...
| |
by: andreister |
last post by:
He there!
I've discovered that the
=================================================
document.links('link_id_here').href = "something";
=================================================
is not applicable for the Firefox (even for the 1.0.6), and I'm falling
into passing through the array and checking each link id.
|
by: Ptaku25 |
last post by:
I have in a few first page defined links (font blue color) row by row
which are links for to appropriate pages in this pdf document.
Could you tell how to get this links in javascript lang ???
Which method or function I should to invoke to get links which arer
defined in my pdf document ???
Regards,
Piotrek
|
by: rn5a |
last post by:
In a shopping cart app, assume that a user has placed 4 orders (each
order has a corresponding OrderID which will be unique). When he comes
to MyCart.aspx, by default, the details of his last order he had placed
will be displayed in a DataList. Also assume that the OrderID of the
last order is 13.
The details of the earlier orders placed by a particular user (when the
user places more than 1 order) can be viewed by clicking links. The...
|
by: DJA |
last post by:
Hello,
I site I designed has links that don't seem to work in mac IE 5.2. In
my site I'm using CSS to imitate image buttons by using the background
image property along with a little extra markup to make it work. When
you mouse over the button the hover state is activated and the 'over'
graphic is displayed, and the link url is displayed in the bottom left
corner of the screen. When clicked, though, nothing happens and you
are not...
|
by: Peter Horlock |
last post by:
Hi,
Using css (that should be working in Firefox 2,3 and Internet Explorer
6,7 at least),
I would like to create the following:
My Links: Link1 +show more links
<!--- This is shown when someone clicks on a plus image next to Link1
Link2(lined up with Link1)
Link3 (lined up with Link2)
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |