Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Altering all the links on a page with javascript via URL bar.
Old 12-21-2010, 07:25 AM Altering all the links on a page with javascript via URL bar.
Extreme Talker

Posts: 177
Trades: 0
I know in Firefox you can run javascript. So for example, it is possible to run javascript that will show all images that are linked inline instead of having to go to the image link. My question is, how can I change the links on a page before I click on them? So instead of url.jpg it shows myurl?url=url.jpg

Thanks for any help!
kbfirebreather is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-21-2010, 11:22 AM Re: Altering all the links on a page with javascript via URL bar.
Extreme Talker

Posts: 246
Trades: 0
Can you maybe elaborate?

Why do you need this and can you point to a site that does this already?
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
stbuchok is offline
Reply With Quote
View Public Profile
 
Old 12-21-2010, 11:28 AM Re: Altering all the links on a page with javascript via URL bar.
Extreme Talker

Posts: 177
Trades: 0
The reason is a site I frequent (reddit) posts pictures quite frequently that uses a site that is blocked. I created a site that will download the image that it's linking to and display it through my site. So instead of copying the link then going to my sites tab then putting it in and submitting, it would be nice to just be able to change those links to use the URL as get data for my site and link directly.
kbfirebreather is offline
Reply With Quote
View Public Profile
 
Old 12-21-2010, 12:07 PM Re: Altering all the links on a page with javascript via URL bar.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
So you want us to help you steal copyright images?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Altering all the links on a page with javascript via URL bar.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.12843 seconds with 12 queries