PageSourceSearch

https://driftywinds.github.io/common/components/AltStoreBanner.js

js driftywinds.github.io collected 2026-10-03 09:04:15 UTC 876 bytes, 25 lines download raw bytes

1//
2//  AltStoreBanner.js
3//  altsource-viewer (https://github.com/therealFoxster/altsource-viewer)
4//
5//  Copyright (c) 2023 Foxster.
6//  MIT License.
7//
8
9import { sourceURL } from "../modules/constants.js";
10
11export const AltStoreBanner = (sourceName) => `
12<div class="uibanner">
13    <img src="https://user-images.githubusercontent.com/705880/65270980-1eb96f80-dad1-11e9-9367-78ccd25ceb02.png" alt="altstore-icon" class="icon">
14    <div class="content">
15        <div class="text-container">
16            <p class="title-text">AltStore <span class="small beta badge"></span></p>
17            <p class="detail-text">
18                Add ${sourceName ? "\"" + sourceName + "\"" : "this source"} to AltStore to receive app updates
19            </p>
20        </div>
21        <a href="altstore://source?url=${sourceURL}">
22            <button>Add</button>
23        </a>
24    </div>
25</div>`;

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.