Data update

This commit is contained in:
Ingy döt Net 2026-04-30 12:34:36 -04:00
parent 4bb20c9b71
commit cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions

View file

@ -1,3 +1,8 @@
function foo() {
return arguments.callee.name;
function filename() {
// get the current script's URL
// or in the event of an embedded script, fall back to the document URL
const src = document.currentScript.src || document.location.href;
// parse out just the file name from the URL
// (no trailing slashes, search params or anchor fragments)
return src.replace(/[?#].*/, '').match(/[^\/]+/g);
}

View file

@ -1 +1,4 @@
(function(){alert(arguments.callee.name);}())
function filename() {
const src = import.meta.url;
return src.replace(/[?#].*/, '').match(/[^\/]+/g);
}