Pathname contains

PHOTO EMBED

Thu Mar 11 2021 11:48:13 GMT+0000 (Coordinated Universal Time)

Saved by @Meehir1991 #html

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript">
  $(document).ready(function() {
    if (window.location.href.indexOf("franky") > -1) {
      alert("your url contains the name franky");
    }
  });
</script>
content_copyCOPY

https://stackoverflow.com/questions/4597050/how-to-check-if-the-url-contains-a-given-string