PageSourceSearch

https://www.altium.com/sites/default/assets/js/js_of3MLlcXi05KmIHS…rTWpHKWgsEHh0k-Pys8Mvo9THechkXg3FKH4Dc0un6w

js altium.com collected 2026-10-02 02:25:45 UTC 1,812 bytes, 3 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2(function(Drupal){'use strict';Drupal.behaviors.addToAny={attach:function(context,settings){if(context!==document&&window.a2a)a2a.init_all();}};})(Drupal);;
3(function($,Drupal){var initialized;function init(){if(!initialized){initialized=true;cjInit();}}Drupal.behaviors.altiumCJ={attach:function(){}};window.addEventListener('load',function(){cjInit();});function cjInit(){var cjeventId=cjUrlParam('cjevent');var cjValues=(cjeventId&&cjCookie(cjeventId))||{};console.debug('cj values -> ',{cjeventId,cjValues});cjMktoValues(cjValues);}function cjCookie(id){var result={};var params=id?'?id='+id:'';var isStage=!!(~window.location.hostname.indexOf('stg'));var isCN=!!(~window.location.hostname.indexOf('.com.cn'));var hostname=window.location.protocol+'//'+window.location.hostname;if(~hostname.indexOf('altium.com'))hostname=isStage?'https://stg.altium.com':'https://www.altium.com';if(isCN)hostname+='.cn';console.debug('cj hostname -> ',{hostname,isStage,params});$.ajax({type:'GET',url:hostname+'/altium-cj/event'+params,dataType:'json',cache:false,async:false,xhrFields:{withCredentials:true},success:function(data){if(data&&data.values&&data.values.cjevent){isStage&&console.log('cje: '+data.values.cjevent);result=data.values;}}});console.debug('cj result -> ',{result});return result;}function cjMktoValues(data){if(typeof MktoForms2!=='undefined')MktoForms2.whenReady(function(form){if(!data.cjevent)data=cjCookie();if(data.cjevent){var values={'cJEvent':data.cjevent,'cJEventDateFT':data.cjeventft,'cJEventDateLT':data.cjeventlt};form.addHiddenFields(values);}});}function cjUrlParam(param){var urlParam=new RegExp('[\\?&]'+param+'=([^&#]*)').exec(window.location.href);return (urlParam&&urlParam[1])||undefined;}}(jQuery,Drupal));;

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.