PageSourceSearch

https://thsba.net/app.js

js thsba.net collected 2026-10-02 00:03:05 UTC 489 bytes, 16 lines download raw bytes

1angular.module('main', ['ngCookies']);
2const app = angular.module('main');
3
4//Add a function to Date to easily add hours
5Date.prototype.addHours = function(h) {
6    this.setTime(this.getTime() + (h*60*60*1000));
7    return this;
8}
9
10//Cookie defaults
11angular.module('main').config(function($cookiesProvider){
12    let exp = new Date().addHours(24);
13    $cookiesProvider.defaults.path = "/";
14    $cookiesProvider.defaults.expires = exp;
15    $cookiesProvider.defaults.samesite = "strict";
16});

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.