PageSourceSearch

https://radha.name/sites/all/modules/service_links/js/google_plus_one.js?r

js radha.name collected 2026-10-02 14:01:04 UTC 1,201 bytes, 41 lines download raw bytes

1if (Drupal.jsEnabled) {
2  $(document).ready(function(){
3    $('a.service-links-google-plus-one').each(function(){
4      var g_text = document.createElement('g:plusone');
5
6      g_text.setAttribute('href', $(this).attr('href'));
7      g_text.setAttribute('width', Drupal.settings.ws_gpo.width);
8      
9      if (Drupal.settings.ws_gpo.size != '') {
10        g_text.setAttribute('size', Drupal.settings.ws_gpo.size);
11      }
12      if (Drupal.settings.ws_gpo.annotation != '') {
13        g_text.setAttribute('annotation', Drupal.settings.ws_gpo.annotation);
14      }
15      if (Drupal.settings.ws_gpo.callback) {
16        g_text.setAttribute('callback', Drupal.settings.ws_gpo.callback);
17      }
18
19      $(this).replaceWith(g_text);
20
21      var params = { parsetags: "explicit" };
22
23      if (Drupal.settings.ws_gpo.lang != '') {
24        params.lang = Drupal.settings.ws_gpo.lang;
25      }
26
27      window.___gcfg = params
28
29      $.ajax({
30        url: "https://apis.google.com/js/plusone.js",
31        dataType: "script",
32        cache: true,
33        success: function () {
34          this.scriptadded = true;
35          gapi.plusone.go();
36        }
37      });
38
39    });
40  });
41}

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.