iframe_loader_catalyst.html 761 B

12345678910111213141516171819202122232425
  1. <script type="text/javascript">
  2. try {
  3. var urlParams = {};
  4. (function () {
  5. var e,
  6. a = /\+/g, // Regex for replacing addition symbol with a space
  7. r = /([^&=]+)=?([^&]*)/g,
  8. d = function (s) {
  9. return decodeURIComponent(s.replace(a, " "));
  10. },
  11. q = window.location.search.substring(1);
  12. while (e = r.exec(q))
  13. urlParams[d(e[1])] = d(e[2]);
  14. })();
  15. if (urlParams.xssDomain) {
  16. document.domain = urlParams.xssDomain;
  17. }
  18. try {
  19. parent.__tx_wysiwyg_iframe_load_complete();
  20. } catch (e) {
  21. }
  22. } catch (e) {
  23. }
  24. </script>