Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6563733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:53:02+00:00 2026-05-25T13:53:02+00:00

Due to an issue that came up with a website I have to use

  • 0

Due to an issue that came up with a website I have to use javascript for all of the links on the page.

like so…

<a href="javascript:this.location = 'stamping.html'"><img src="image.png"/></a>

Will having many links with javascript on the webpage slow it down significantly?

Does the Javascript run when the page initially loads or only when a link is clicked?

EDIT: For those asking why I’m doing this. I’m creating an iPad site, when you use the ‘add to home page’ button to add the site as an icon, it allows users to view the site with no address bar.

However everytime a link is clicked it reopens Safari in a new window with the address bar back.

The only solution I could find was using javascript instead of an html based link to open the page.

For further reference see…

iPad WebApp Full Screen in Safari

2nd answer

“It only opens the first (bookmarked) page full screen. Any next page will be opened WITH the address bar visible again. Whatever meta tag you put into your page header…”

3rd answer down

“If you want to stay in a browser without launching a new window use this HTML code:

a href="javascript:this.location = 'index.php?page=1'"

“

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T13:53:03+00:00Added an answer on May 25, 2026 at 1:53 pm

    I can see this adding to the bandwidth needs of a site marginally (very marginally), but the render time and the response time on clicking shouldn’t be noticeable.

    If it is a large concern I would recommend benchmarking the two different approaches to compare the real impact.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

HI all, I have and issue that looks like it's due to IE's box
I have bandage due to 5th metacarpal damage. Typing is no issue at all,
Sometimes I have come across this issue that whenever I change the order of
I have run into an issue that is probably due to my mis-understanding of
Due to weird domain/subdomain cookie issues that I'm getting, I'd like to know how
Due to a sad situation I receive HTML like this: <p>Perform the following commands:
I have an issue that means I cannot check in changes even if I
I'm trying to debug an issue that is really stumping me. Basically, I have
I have some code that is failing due to an error: The name 'foo'
I have a weird issue that I am being asked to fix but alas

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.