What does this obfuscated script do?

Saw this script on a wordpress site I’m working on. What does it do?

Thanks!

< sc?ript type=”text/javascript”> var bbbprotocol = ( (“https:” == document.location.protocol) ? “https://&#8221; : “http://&#8221; ); doc?ument.write (un?escape (“%3Cscript src='” + bbbprotocol + ‘seal-sanjose.bbb.org’ + un?escape (‘%2Flogo%2Fthrive-academy-237974.js’:wink: + “‘ type=’text/javascript’%3E%3C/ sc?ript %3E”:wink:);< / sc?ript >

  • Jack Kitterhing
    • Code Norris

    Hi there @PressLock

    I hope you are well today and thank you for your question.

    I have just been discussing this with a colleague and we both agree that it just looks like it is decoding an encoded URL such as this%20is%20encoded so it then decodes to ‘this is encoded’

    Thank you!

    Kind Regards

    Jack.