PageSourceSearch

https://www.salsify.com/hubfs/hub_generated/module_assets/1/187557…/module_u4m-marketo-form-2021.min.js

js salsify.com collected 2026-10-01 07:48:28 UTC 3,018 bytes, 12 lines download raw bytes

1var module_187557221951=function(){var invalidDomains;MktoForms2.whenRendered(function(form){
2/*
3 * @author Sanford Whiteman
4 * @version v1.106 2020-04-04
5 * @copyright © 2020 Sanford Whiteman
6 * @license Hippocratic 2.1: This license must appear with all reproductions of this software.
7 *
8 * Create a completely barebones, user-styles-only Marketo form
9 * by removing inline STYLE attributes and disabling STYLE and LINK elements
10 */
11var moreStyles,formEl,arrayFrom;formEl=form.getFormElem()[0],(arrayFrom=getSelection.call.bind([].slice))(formEl.querySelectorAll("[style]")).concat(formEl).forEach(function(el){el.removeAttribute("style")}),arrayFrom(document.styleSheets).forEach(function(ss){-1!=[mktoForms2BaseStyle,mktoForms2ThemeStyle].indexOf(ss.ownerNode)||formEl.contains(ss.ownerNode)?(console.log("Marketo destyle: removing",ss),ss.disabled=!0):console.log("Marketo destyle: ignoring",ss)}),moreStyles||formEl.setAttribute("data-styles-ready","true")}),invalidDomains=["@gmail.","@yahoo.","@hotmail.","@aol.","@msn.","@wanadoo.","@orange.","@comcast.net","@live.","@rediffmail.","@free.","@gmx.","@web.","@yandex.","@ymail.","@libero.","@outlook.","@uol.","@bol.","@mail.com","@cox.","@sbcglobal.","@sfr.","@verizon.net","@googlemail.","@ig.","@bigpond.","@terra.","@neuf.","@alice.","@rocketmail.","@att.net","@laposte.","@facebook.","@bellsouth.","@charter.","@rambler.","@tiscali.","@shaw.","@sky.","@earthlink.","@optonline.","@freenet.","@t-online.","@aliceadsl.","@virgilio.","@home.","@qq.","@telenet.","@me.","@voila.","@planet.","@tin.","@ntlworld.","@arcor.","@frontiernet.","@hetnet.","@zonnet.","@club-internet.","@juno.","@optusnet.","@blueyonder.","@bluewin.","@skynet.","@sympatico.","@windstream.","@mac.","@centurytel.","@chello.","@aim.","@qq.","@q.","@net-c.","@netc.","@zoho.","@protonmail.","@edgenet.","@stibo.","@stibosystems.","@contentanalytics.","@inriver.","@1worldsync.","@channeadvisor.","@shotfarm.","@gladson.","@webcollage.","@cnet.","@syndigo.","@sap.","@akeneo.","@plytix.","@striketru.","@informatica.","@agena3000.","@icecat.","@channeladvisor.","@atrify.","@riversand.","@sellpoints.","@venzee.","@kwikee.","@nutritionix.","@wisebase.","@fsenet.","@itemmaster.","@ngopay1.","@mawul.my.id","@manen1.","@kopsoral.","@shopelyer.","alliancereborn.","mailinator.","@teleworm.us","@formail.","yoo.","163."],MktoForms2.whenReady(function(form){form.onValidate(function(){var email=form.vals().Email;if(email)if(function(email){for(var lemail=email.toLowerCase(),i=0;i<invalidDomains.length;i++){var domain=invalidDomains[i];if(-1!=lemail.indexOf(domain))return!1}return!0}(email))form.submitable(!0);else{form.submitable(!1);var emailElem=form.getFormElem().find("#Email");form.showErrorMessage("Please enter your business email.",emailElem)}}),form.addHiddenFields({lastFormSubmitPageName:document.title})})}();
12//# sourceURL=https://316299.fs1.hubspotusercontent-na1.net/hubfs/316299/hub_generated/module_assets/1/187557221951/1787848392254/module_u4m-marketo-form-2021.js

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.