PageSourceSearch

https://westsidetoday.com/wp-content/uploads/custom-css-js/131639.js?v=9912

js westsidetoday.com collected 2026-10-02 07:41:31 UTC 8,342 bytes, 129 lines download raw bytes

1/******* Do not edit this file *******
2Simple Custom CSS and JS - by Silkypress.com
3Saved: Sep 28 2026 | 20:18:37 */
4jQuery(document).ready(function ($) {
5
6  /* ------------------------------------------------------------------
7   * Content tweaks (unchanged)
8   * ------------------------------------------------------------------ */
9
10    $('#panel-130666-2-1-0 > div > div > h2 > a').attr('href','https://smmirror.com/2019/03/holistic-approach-of-ananda-integrative-medicine/');
11    $('#panel-130666-3-0-0 > div > div > h2 > a').attr('href','https://www.palisadesnews.com/dining-review-fig-restaurant/');
12
13	$('#weart_balaton_theme > div > header > div.top.pb-3.border-bottom.brd-bold.brd-black > div > div.meta.small.f-text.d-none.d-lg-flex.c-text > span:nth-child(2)').html('<h1 class="westside"> The Best Source of News, Culture, Lifestyle for Culver City, Mar Vista, Del Rey, Palms and West Los Angeles</h1>');
14
15  $('#panel-130665-0-0-2 > div > div > div > div > div:nth-child(4) > div > div.smls-overlay-all-wrap > div').html('Started in 2017' + '<br />' + 'Distribution: Online Only' + '<br />'
16 	+ 'Social Media:' + '<a href="https://www.facebook.com/watchedify/">' +  '<i class="fab fa-facebook">' + '</i>' + '</a>');
17
18  $('#panel-130665-0-0-2 > div > div > div > div > div:nth-child(3) > div > div.smls-overlay-all-wrap > div').html('Started in 2000' + '<br />' + 'Print Distribution: Biweekly' + '<br />' + 'Circulation: 7,500' + '<br />' +
19 	 'Social Media:' + '<a href="https://twitter.com/YoVenice?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor">' +  '<i class="fab fa-twitter">' + '</i>' + '</a>');
20
21  $('#panel-130665-0-0-2 > div > div > div > div > div:nth-child(2) > div > div.smls-overlay-all-wrap > div').html('Started in 1999' + '<br />' + 'Print Distribution: Weekly' + '<br />' + 'Circulation: 15,000' + '<br />' +
22 	 'Social Media:' + '<a href="https://twitter.com/smmirror">' +  '<i class="fab fa-twitter">' + '</i>' + '</a>');
23
24  $('#panel-130665-0-0-2 > div > div > div > div > div:nth-child(8) > div > div.smls-overlay-all-wrap > div').html('Started in 2014' + '<br />' + 'Print Distribution: Biweekly' + '<br />' + 'Circulation: 12,000' + '<br />' +
25 	 'Social Media:' + '<a href="https://twitter.com/palisadesnews?lang=en">' +  '<i class="fab fa-twitter">' + '</i>' + '</a>');
26
27  $('#panel-130665-0-0-2 > div > div > div > div > div:nth-child(1) > div > div.smls-overlay-all-wrap > div').html('Started in 1999' + '<br />' + 'Distribution: Online Only' + '<br />' +
28 	 'Social Media:' + '<a href="https://twitter.com/westsidelatoday?lang=en">' +  '<i class="fab fa-twitter">' + '</i>' + '</a>');
29
30  $('#panel-130665-0-0-2 > div > div > div > div > div:nth-child(7) > div > div.smls-overlay-all-wrap > div').html('Started in 2015' + '<br />' + 'Print Distribution: Biweekly' + '<br />' + 'Circulation: 20,000' + '<br />' +
31 	 'Social Media:' + '<a href="https://twitter.com/thepridela?lang=en">' +  '<i class="fab fa-twitter">' + '</i>' + '</a>');
32
33  $('#panel-130665-0-0-2 > div > div > div > div > div:nth-child(5) > div > div.smls-overlay-all-wrap > div').html('Started in 1990' + '<br />' + 'Print Distribution: Monthly' + '<br />' + 'Circulation: 15,000' + '<br />' +
34 	 'Social Media:' + '<a href="https://twitter.com/brentwoodnewsla">' +  '<i class="fab fa-twitter">' + '</i>' + '</a>');
35
36  $('#panel-130665-0-0-2 > div > div > div > div > div:nth-child(6) > div > div.smls-overlay-all-wrap > div').html('Started in 1990' + '<br />' + 'Print Distribution: Monthly' + '<br />' + 'Circulation: 15,000' + '<br />' +
37 	 'Social Media:' + '<a href="https://www.facebook.com/centurycitynews/">' +  '<i class="fab fa-facebook">' + '</i>' + '</a>');
38
39
40
41  /* ------------------------------------------------------------------
42   * Ad placements
43   * GPT itself is loaded by the header snippet; slots are defined there
44   * automatically when display() is called.
45   * ------------------------------------------------------------------ */
46
47  window.googletag = window.googletag || { cmd: [] };
48
49  // Insert an ad container once (no duplicate ids).
50  // show = false inserts the container only, without a display() call.
51  function placeAd(id, $target, method, className, show) {
52    if (!$target.length) {
53      console.log('[ads] target not found:', id);
54      return;
55    }
56    if (document.getElementById(id)) {
57      console.log('[ads] already on page, skipped:', id);
58      return;
59    }
60    // Created without an HTML string, so the snippet editor sees no unclosed tag
61    var el = document.createElement('div');
62    el.id = id;
63    if (className) el.className = className;
64    $target.first()[method]($(el));
65    console.log('[ads] placed:', id);
66    if (show === false) return;
67    googletag.cmd.push(function () {
68      console.log('[ads] display:', id);
69      googletag.display(id);
70    });
71  }
72
73  var $body = $('body');
74
75  // Homepage
76  if ($body.hasClass('home')) {
77    // Not in the header slot list (no ad unit defined) - container only, as before
78    placeAd('div-gpt-ad-1600215503292-0', $('.container-ignition-main-container-before'), 'after', 'col-12 adv-container after-hero responsive-ldbrd-ad', false);
79
80    // Select all targets first, so inserting one ad does not shift the positions of the others
81    var $home4  = $('.home #site-content .row-items > div:nth-child(4)');
82    var $home9  = $('.home #site-content .row-items > div:nth-child(8)');
83    var $home14 = $('.home #site-content .row-items > div:nth-child(12)');
84    placeAd('div-gpt-ad-1600215069750-0', $home4,  'after', 'col-12');
85    placeAd('div-gpt-ad-1600215121435-0', $home9,  'after', 'col-12');
86    placeAd('div-gpt-ad-1600215168215-0', $home14, 'after', 'col-12');
87  }
88
89  // Category pages
90  if ($body.hasClass('category')) {
91    var $cat3  = $('.entry-item:nth-child(3)');
92    var $cat7  = $('.entry-item:nth-child(7)');
93    var $cat11 = $('.entry-item:nth-child(11)');
94    placeAd('div-gpt-ad-1600215069750-0', $cat3,  'after', 'category-page-ad');
95    placeAd('div-gpt-ad-1600215121435-0', $cat7,  'after', 'category-page-ad');
96    placeAd('div-gpt-ad-1600215168215-0', $cat11, 'after', 'category-page-ad');
97  }
98
99  // Single posts
100  if ($body.hasClass('single')) {
101    var $rel4  = $('.entry-section .row-items div:nth-child(4)');
102    var $rel9  = $('.entry-section .row-items div:nth-child(9)');
103    var $rel14 = $('.entry-section .row-items div:nth-child(14)');
104    // Not in the header slot list (no ad unit defined) - container only, as before
105    placeAd('div-gpt-ad-1596071060207-0', $('.entry'), 'after', 'responsive-ldbrd-ad single-post-ad', false);
106    // Original ids kept; they are not in the header slot list, so containers only
107    placeAd('div-gpt-ad-1598567550570-0', $rel4,  'after', '', false);
108    placeAd('div-gpt-ad-1598567674224-0', $rel9,  'after', '', false);
109    placeAd('div-gpt-ad-1598567724154-0', $rel14, 'after', '', false);
110  }
111
112  // Fallbacks for other layouts (skipped if the id was already placed above)
113  placeAd('div-gpt-ad-1600215069750-0', $('.grid-item:nth-child(3)'), 'append');
114  placeAd('div-gpt-ad-1600215121435-0', $('.grid-item:nth-child(6)'), 'append');
115  placeAd('div-gpt-ad-1600215168215-0', $('.grid-item:nth-child(9)'), 'append');
116  placeAd('div-gpt-ad-1600215212270-0', $('.related:nth-child(9)'), 'append');
117  placeAd('div-gpt-ad-1600215251868-0', $('.related:nth-child(13)'), 'append');
118  placeAd('div-gpt-ad-1600215294712-0', $('.related:nth-child(17)'), 'append');
119
120  // Pre-footer, all pages (not in the header slot list - container only, as before)
121  placeAd('div-gpt-ad-1596145742562-0', $('.footer'), 'before', 'responsive-ldbrd-ad', false);
122
123  /* ------------------------------------------------------------------
124   * Footer logo and tagline (unchanged)
125   * ------------------------------------------------------------------ */
126
127  var footerAd = '<div id="div-gpt-ad-1599687828904-0" class=""></div><div class="footer-logo"><a href="https://westsidetoday.com"><img src="https://westsidetoday.com/wp-content/uploads/2020/07/wst-logo-300x41-1.png" /></a><p><i>The Best Source of News, Culture, Lifestyle for Culver City, Mar Vista, Del Rey, Palms and West Los Angeles</i></p></div>';
128  jQuery('.menu-footer').before(footerAd);
129});

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.