• Resolved Yunis777

    (@yunis777)


    Hi,

    i want to create a button with Maxbuttons plugin that takes the user to the previous (back) page when clicked on it. How do I do this? Btw, I have no experience with Javasript code whatsover.

    Kind regards,

    Yunis

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Bas Schuiling

    (@basszje)

    You can try to add this in the URL field:

    javascript:window.history.back();

    Thread Starter Yunis777

    (@yunis777)

    Bas,

    After I entered the code “javascript:window.history.back();” in the URL field, the security plugin WordFence warned me that the javascript code was something it did not recognize. It asked me if I wanted to ‘whitelist’ it.

    See screenshot: https://postimg.cc/R3ZvxnW7

    Can it be whitelisted or could it compromise the site’s security in the long run?

    Kind regards,

    Yunis

    • This reply was modified 5 years, 2 months ago by Yunis777.
    Plugin Author Bas Schuiling

    (@basszje)

    Hi,

    No, this is perfectly safe.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Back previous page button’ is closed to new replies.