return real window.parent

This commit is contained in:
velzie 2024-07-27 18:55:59 -04:00
parent 396170e4ea
commit b0f5166916
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F
4 changed files with 62 additions and 38 deletions

View file

@ -1,7 +1,8 @@
import { encodeUrl } from "../shared";
import { importfn } from "./wrap";
export default function (client, self) {
self.$sImport = function (base) {
self[importfn] = function (base) {
return function (url) {
const resolved = new URL(url, base).href;