Re: Doing a live search and replace of some links on a given page - achievable with JavaScript ?

Wednesday, April 17, 2013

Thanks very much for your reply

To clarify, its going to be on the same domain & I should have used https for both

[it's to make my workflow easier]

On Saturday, March 23, 2013 7:29:40 PM UTC, Binary Tutor wrote:
On first blush, it would appear you want to go from a secure URL (https) to an un-secure URL (http)

Whatever for?

Also, what is the base URL of the page where you want to stick those big buttons right above the original link?

If it has a base like:

https://www.example.co.uk/MyBigButtonPage.html  

me thinks it could be done rather easily. But if that page with those big buttons is hosted somewhere else on the Internet (or even on your local hard drive), me believes the browser is going to ring loud, restrictive, "Access denied" alarm bells...

On Saturday, March 23, 2013 12:00:14 AM UTC-4, helpm...@yahoo.com wrote:
the goal
I would like to, when on a given site (example.co.uk) change* the following links:

https://www.example.co.uk/zz/pqrs/product?ie=UTF8&item=123456789

to

http://www.example.co.uk/zz/pqrs/order?ie=UTF8&item=123456789

(the only thing that changes each time is the number)

[*either replace the link, or i'd settle for a big button right above the original link]

icing on the cake

Instead of the result opening in a new window, it' opens in a pop up, which can be dismissed once something is on the next page.

Or, even easier, it could open in a new tab or window.

--
You received this message because you are subscribed to the Google Groups "JavaScript Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javascript-information+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Copyright © 2010 Web Design | Free Blogger Templates by Splashy Templates | Layout by Atomic Website Templates

Vida de bombeiro Recipes Informatica Humor Jokes Mensagens Curiosity Saude Video Games Animals Diario das Mensagens Eletronica Rei Jesus News Noticias da TV Artesanato Esportes Noticias Atuais Games Pets Career Religion Recreation Business Education Autos Academics Style Television Programming Motosport Humor News The Games Home Downs World News Internet Design Entertaimment Celebrities 1001 Games Doctor Pets Net Downs World Enter Jesus Mensagensr Android Rub Letras Dialogue cosmetics Genexus lasofia thebushrajr wingshock tripedes gorduravegetal dainfamia dejavu-transpersonal jsbenfica republicadasbadanas ruiherbon iranianforaryans eaystcheyl fotosdanadir Só Humor Curiosity Gifs Medical Female American Health Madeira Designer PPS Divertidas Estate Travel Estate Writing Computer Matilde Ocultos Matilde futebolcomnoticias girassol lettheworldturn topdigitalnet Bem amado enjohnny produceideas foodasticos cronicasdoimaginario downloadsdegraca compactandoletras newcuriosidades blogdoarmario arrozinhoii