PageSourceSearch

https://osxhackers.net/js/mtitle.js?3596

js osxhackers.net collected 2026-10-02 19:16:15 UTC 1,682 bytes, 39 lines download raw bytes

1/****************************************************
2 * Card Designer Bric
3 * Made for Blocs app for Mac
4 * Author: Whittfield Holmes
5 * Last Modified Date: January 27, 2020 8:00pm CST
6*****************************************************/
7(function($) {
8  $('.cd-swiper-slide').removeClass('preview');
9  $('.cd-container').on("mresize",function(){
10      var $this=$(this);
11      w= parseInt($this.width());
12      var cd = $this.find(".card-designer");
13      var capl = parseInt($this.find('.cd-caption').text().length);
14      var title = $this.find(".cd-title");
15      var link = $this.find(".cd-title a");
16      var size = parseInt($this.attr("data-title-size"));
17      var line = parseInt($this.attr("data-line-height"));
18      if(w>350){
19          cd.removeClass("md sm").addClass("lg");
20          if($this.attr('data-responsive-title') == '1'){
21              title.css({"font-size": size+"px"}).removeClass("sm md").addClass("lg");
22              link.css({"line-height": line+"px"});
23          }
24      } else if(w>=250 && w<=350){
25          cd.removeClass("sm lg").addClass("md");
26          if($this.attr('data-responsive-title') == '1'){
27              title.css({"font-size":""}).removeClass("lg sm").addClass("md");
28              link.css({"line-height":""});
29          }
30      } else if(w<250){
31          cd.removeClass("md lg").addClass("sm");
32          if($this.attr('data-responsive-title') == '1'){
33              title.css({"font-size":""}).removeClass("lg md").addClass("sm");
34              link.css({"line-height":""});
35          }
36      }
37      $this.find(".cd-output").first().html($this.width()+"x"+$this.height());
38  }).trigger("mresize").throttle=0;
39})(jQuery);

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.