PageSourceSearch

https://www.freetvtube.info/js/main.js?v=0.7

js freetvtube.info collected 2026-09-26 06:21:09 UTC 1,235 bytes, 41 lines download raw bytes

1$(document).ready(function() {
2
3    $("#like").on('click', function(e) {
4      e.preventDefault();
5      var item = $(this);
6      var videoId = item.data("id");
7
8      $.ajax({
9          type: "POST",
10          url: "/ajax/ajax.php",
11          data: {setVote: true, type: 1, videoId: videoId},
12          dataType: "json",
13          success: function(result){
14            if (result != '') {
15              item.html('<i class="fa fa-thumbs-o-up"></i> ' + result.likes);
16              item.parent().parent().find("#dislike").html('<i class="fa fa-thumbs-o-down"></i> ' + result.dislikes);
17            }
18          }
19      });
20    })
21
22    $("#dislike").on('click', function(e) {
23      e.preventDefault();
24      var item = $(this);
25      var videoId = item.data("id");
26
27      $.ajax({
28          type: "POST",
29          url: "/ajax/ajax.php",
30          data: {setVote: true, type: 0, videoId: videoId},
31          dataType: "json",
32          success: function(result){
33            if (result != '') {
34              item.html('<i class="fa fa-thumbs-o-down"></i> ' + result.dislikes);
35              item.parent().parent().find("#like").html('<i class="fa fa-thumbs-o-up"></i> ' + result.likes);
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.