PageSourceSearch

https://newtum.com/assets/json/newtum_course_dtls.js

js newtum.com collected 2026-10-04 10:28:48 UTC 587 bytes, 12 lines download raw bytes

1/** For Social campaign- redirect buy now to Register page with course details */
2const queryString = window.location.search;
3const urlParams = new URLSearchParams(queryString);
4const ntm_source = urlParams.get('ntm_source')
5
6if (ntm_source == 'social_campaign' && $("#course_buy_now").length > 0) {
7    buy_now_url = $("#course_buy_now").attr("href")
8    url_hashes = buy_now_url.split("?")[1]
9    register_url = "https://learn.newtum.com/register?" + url_hashes;
10    $("#course_buy_now").attr("href", register_url)
11    $("#course_buy_now_mob").attr("href", register_url)
12}

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.