1/** 2 * NOTICE OF LICENSE 3 * 4 * This source file is subject to the Software License Agreement 5 * that is bundled with this package in the file LICENSE.txt. 6 * 7 * @author Peter Sliacky (Zelarg) 8 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 9 */ 10 11document.addEventListener("DOMContentLoaded", function (event) { 12 if (document.querySelector('#tc_secure_notice')) { 13 // In trial mode, show footer link 14 var cmsNodes = document.querySelectorAll('#footer [id*=link-cms-page]'); 15 if (cmsNodes.length) { 16 var el = cmsNodes[cmsNodes.length-1]; 17 var lnk = el.parentElement.cloneNode(true); 18 if (lnk.querySelector('a')) { 19 lnk.querySelector('a').replaceWith(document.querySelector('#tc_secure_notice a')); 20 el.insertAdjacentElement('beforebegin', lnk); 21 } 22 } 23 } 24});
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.