PageSourceSearch

https://marketingschool.io/wp-content/plugins/simple-podcast-press…/js/clammrit.js?ver=6.6.9

js marketingschool.io collected 2026-10-02 03:41:19 UTC 1,827 bytes, 45 lines download raw bytes

1function sppClammrIt(starttime,endtime, audio_file, chnale_image, post_title, post_content) {
2    var sppCurrentTime = document.getElementsByClassName("audioplayer-time audioplayer-time-current");
3    var sppCurStartTime = starttime;
4    var sppCurEndTime = endtime;
5    var sppReferralName = 'SimplePodcastPress';
6    
7    var p = sppCurStartTime.split(':'),
8        s = 0, m = 1;
9    while (p.length > 0) {
10        s += m * parseInt(p.pop(), 10);
11        m *= 60;
12    }
13
14	 var p1 = sppCurEndTime.split(':'),
15			s1 = 0, m1 = 1;
16		while (p1.length > 0) {
17			s1 += m1 * parseInt(p1.pop(), 10);
18			m1 *= 60;
19		}
20   var sppCurStartTimeMs = s * 1000;
21   var sppCurEndTimeMs = s1 * 1000;
22  // var sppCurEndTimeMs = sppCurStartTimeMs + 24000;
23  var clammrUrlEncoded = "https://www.clammr.com/app/clammr/crop";
24  clammrUrlEncoded += "?audioUrl=" + encodeURIComponent(audio_file);
25  clammrUrlEncoded += "&imageUrl=" + encodeURIComponent(chnale_image);
26  clammrUrlEncoded += "&audioStartTime=" + encodeURIComponent(sppCurStartTimeMs);
27  clammrUrlEncoded += "&audioEndTime=" + encodeURIComponent(sppCurEndTimeMs);
28  clammrUrlEncoded += "&title=" + post_title;
29  clammrUrlEncoded += "&description=" + encodeURIComponent(post_content);
30  clammrUrlEncoded += "&referralName=" + encodeURIComponent("SimplePodcastPress");
31                  
32  if (document.getElementsByClassName("sppaudioplayer").item(0) != null)
33          jQuery('.sppaudioplayer').trigger("pause");
34  // SM players
35  else if (window.soundManager) {
36    var soundId = window.soundManager.soundIDs[0];
37    if (soundId != null) {
38      soundManager.getSoundById(soundId).pause();
39      jQuery("div.smart-track-player").removeClass("spp-playing");
40    }
41  }
42
43                       
44    window.open(clammrUrlEncoded, 'cropPlugin', 'width=1000, height=750, top=50, left=200');
45}

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.