Αυτός ο ιστότοπος θα έχει περιορισμένη λειτουργικότητα, όσο εκτελούμε εργασίες συντήρησης για να βελτιώσουμε την εμπειρία σας. Αν ένα άρθρο δεν επιλύει το ζήτημά σας και θέλετε να κάνετε μια ερώτηση, η κοινότητα υποστήριξής μας είναι έτοιμη να σας βοηθήσει στο Twitter (@FirefoxSupport) και στο Reddit (/r/firefox).

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

When I open a new tab using JS, some browser history is kept. How to remove it?

more options

I'm developing a web application and the users can access the system using both Firefox and Chrome. There are some menus that, when the users selects an option a new tab opens, displaying the desired page. The new page is opened using JavaScript: `window.open(<desiredPage>, '_blank')`. In Chrome the new tab has no history, meaning the user cannot go back using the browser's backward button. In Firefox, in the exact moment the tab opens, there are pages in the history, meaning that the user could go back. How to prevent this behavior?

Thanks in advance.

I'm developing a web application and the users can access the system using both Firefox and Chrome. There are some menus that, when the users selects an option a new tab opens, displaying the desired page. The new page is opened using JavaScript: `window.open(<desiredPage>, '_blank')`. In Chrome the new tab has no history, meaning the user cannot go back using the browser's backward button. In Firefox, in the exact moment the tab opens, there are pages in the history, meaning that the user could go back. How to prevent this behavior? Thanks in advance.

Όλες οι απαντήσεις (2)

more options

Hi, I'm redirecting your topic to your language, please wait for the response from one of the valued ones in your region.

more options

There should not be history on a new window or tab launched using window.open(). I have no idea how that is happening on your Firefox.

What if you test on other sites? Does it happen everywhere? For example, if I use the Inspector tool to modify one of the links on a page with this additional attribute (using right-click > Edit as HTML in the Inspector) --

onclick="window.open(location.href, '_blank'); return false;"

-- I get a new tab that doesn't have history.

Is it possible you have an extension related to duplicating tabs that is affecting new tabs?