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 337903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T10:22:46+00:00 2026-05-12T10:22:46+00:00

In a tabbed browser (FF 3.5 in for me), I often open links in

  • 0

In a tabbed browser (FF 3.5 in for me), I often open links in new tabs with CTRL-click or middle-click. When the link contains a Javascript function, either:

  • A blank new tab opens with javascript:window.print() or what-have-you in the address bar.
  • The function executes successfully and a blank new tab opens.

Thing is, this doesn’t seem to happen consistently for all Javascript functions. For example:

  1. The “Print” button on this page, when CTRL-clicked, opens a print dialogue and generates an empty new tab.
  2. The Whitepaper links on this page, when CTRL-clicked, only generates an empty new tab.

The links in question contain the following code, respectively:

  1. javascript:window.print();
  2. javascript:_hbRedirect('PDF Downloads','White Paper','URL.pdf','&c1=TITLE|US-en')

This SO question is somewhat similar. The best-rated answer details an AJAX-based solution, but I could not find an explanation for why some Javascript functions behave differently with tabs than others.

  • 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-12T10:22:46+00:00Added an answer on May 12, 2026 at 10:22 am

    That happens because window.print() is already defined by default so it is called normally.

    The javascript:_hbRedirect('PDF Downloads','White Paper','URL.pdf','&c1=TITLE|US-en') link calls an undefined function so nothing happens.

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

Sidebar

Related Questions

I'm just wondering if it would be possible to open new browser window/tab inside
$('.tabbed-block .tab-content:first').show(); $('.tabbed-block ol li:first').addClass('active'); $('.tabbed-block ol li a').click(function () { $('.tabbed-block ol li').removeClass('active');
The help browser for Visual Studio kinda sucks as far as modern tabbed browsing
I have designed a tabbed page. I'm able to load forms in the tabs
I need a tabbed application with core data persistence. when i create a new
Basically I have a tabbed Panel I'm creating. When the user click on a
What i have is a tabbed page with 12 tabs (every tab is a
I want to code a small tabbed browser just for the fun. However I'm
I have a Javascript tabbed dialog whose pages have different heights. Some of them
Is there an open source UIView component that supports multiple, dynamic tabbed views for

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.