PageSourceSearch

https://iriskavanagh.com/assets/controllers/redirector_controller-5f9b9473.js

js iriskavanagh.com collected 2026-10-09 22:12:05 UTC 365 bytes, 17 lines download raw bytes

1import { Controller } from "@hotwired/stimulus";
2
3export default class extends Controller {
4  redirect() {
5    window.location.href = this.data.get("url");
6  }
7
8  redirectUnlessLink(e) {
9    var target = e.target || e.srcElement;
10    if (target.tagName == "A") {
11      return;
12    }
13
14    var url = e.currentTarget.dataset.url;
15    window.location.href = url;
16  }
17}

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.