The task is to apply a correct link to the back button of each page. If the link is the same as the document.referrer, consider executing window.history.back() instead of adding a new history. On some pages, the back button should be visible and invisible, depending on the condition.
Description
The task is to apply a correct link to the back button of each page. If the link is the same as the
document.referrer
, consider executingwindow.history.back()
instead of adding a new history. On some pages, the back button should be visible and invisible, depending on the condition.Screen Captures
Notes