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

The Archive Base Latest Questions

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

I have a Firefox addon that first displays a warning/info page telling the user

  • 0

I have a Firefox addon that first displays a warning/info page telling the user they are being redirected (chrome://localfilter/content/wait_page.html) then redirects them to their destination.

Everything is working great.

The only thing is when/if they press the back button they see that “wait page”, is there anyway to delete just that wait page from the history and leave everything else as is?
Or if that is not possible replace that wait page with another page that perhaps has just the logo (because if they read they are getting redirected and nothing happens…)

EDIT:

// function to see if the banned URL is on the list, then redirect
...
window.stop(); // Totally stop the page from loading.

                            window.content.location.href = "chrome://quickfilter/content/wait_page.html";



                            this.notificationBox();
                            self.timervar = setTimeout(function ()
                            {
                                self.main.redirectToAnotherUrl();
                            }, 2505);

...


redirectToAnotherUrl: function ()
            {


                window.content.location.href = self.mafiaafireFilterUrl;
                self.timervar = setTimeout(function ()
                            {
                                self.main.notificationBox();
                            }, 2005);


            }

Changed with replace:

redirectToAnotherUrl: function ()
            {


                window.content.location.replace(self.mafiaafireFilterUrl);
                self.timervar = setTimeout(function ()
                            {
                                self.main.notificationBox();
                            }, 2005);


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

    I guess that the best solution is not to delete the page from history but rather not add it in the first place. When you are “redirecting” to the target page you are probably using window.location.href = ... or something like this. Instead you should use window.location.replace(...) which will “replace” the current page without creating an additional history entry.

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

Sidebar

Related Questions

There is an open source firefox addon that I have attempted to test with
I have a webpage where Firefox 2 displays the font certain, really specific elements,
I have developed a couple of extensions for Firefox, and am annoyed that it
I have some markup for a popup menu that works in firefox but not
I have a JavaScript snippet that runs very well on Firefox and Safari, but
I have an HTML (not XHTML) document that renders fine in Firefox 3 and
I have written a ruby script which opens up dlink admin page in firefox
I am developing my first addon for Firefox, and I'm using the Extention Developer
Does anybody know of a bookmarklet or firefox addon that let's you extract part
I have a firefox addon which works for firefox version 3.0 onwards. However, a

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.