PageSourceSearch

https://cowrychat.com/themes/cowrychat/stylesheet/pg/js/switcher.js

js cowrychat.com collected 2026-10-01 15:59:01 UTC 485 bytes, 19 lines download raw bytes

1// Swicher
2function toggleSwitcher() {
3    var i = document.getElementById('style-switcher');
4    if (i.style.left === "-189px") {
5        i.style.left = "0px";
6    } else {
7        i.style.left = "-189px";
8	}
9};
10
11function setColor(theme) {
12    document.getElementById('color-opt').href = './css/colors/' + theme + '.css';
13    toggleSwitcher(false);
14};
15
16function setTheme(theme) {
17    document.getElementById('theme-opt').href = './css/' + theme + '.css';
18    toggleSwitcher(false);
19};

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.