const _backButtonSettings = { "sameDomainOnly": false } window.addEventListener("message", function (event) { if (event.data.backButtonId) { console.log(event.data.backButtonId); const findElement = setInterval(() => { const backButton = document.getElementById(event.data.backButtonId); if (backButton) { clearInterval(findElement); const sameDomainOnly = _backButtonSettings["sameDomainOnly"]; // if (sameDomainOnly) { // const currentOrigin = window.location.origin; // const referrerOrigin = document.referrer // ? new URL(document.referrer).origin // : null; // if (!referrerOrigin || referrerOrigin !== currentOrigin) { // backButton.style.display = "none"; // return; // } // } backButton.addEventListener("click", () => { history.back(); }); } }, 1000); } });
top of page

Got Queries?

Do Reach Out

Address

Email

Phone

Social Media

  • Facebook
  • Twitter
  • LinkedIn
  • Instagram

Thanks for submitting!

STAY UPDATED

Thanks for subscribing!

[Yellow] Temporary Logo.png

The Forgotten Muslim is an accessible platform that will enable you to explore & learn all about Islam through highly anticipated and curated content while fostering a compassionate community that extends aid to forgotten communities worldwide.

© 2023. The Forgotten Muslims. All Rights Reserved
#BeginYourQuest | Discover the World of Islam.

[White Tr] The Forgotten Muslim Logo-04.png
Quick Links

Rethink: Academy

Your Power To Support Change Is Just A Click Away

The Forgotten Souls is an accessible platform that will enable you to explore & learn all about Islam through highly anticipated and curated content while fostering a compassionate community that extends aid to forgotten communities worldwide.

© 2023. The Forgotten Souls. All Rights Reserved
#BeginYourQuest | Discover the World of Islam.

bottom of page