mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
outerHtml and a get impl
This commit is contained in:
parent
8e191b45ab
commit
e8b9e04d46
5 changed files with 65 additions and 36 deletions
|
@ -8,7 +8,7 @@ import { BareClient } from "@mercuryworkshop/bare-mux";
|
|||
import { parseDomain } from "parse-domain";
|
||||
import { ScramjetHeaders } from "./headers";
|
||||
import { CookieStore } from "./cookie";
|
||||
import { htmlRules } from "./rewriters/html";
|
||||
import { htmlRules, unrewriteHtml } from "./rewriters/html";
|
||||
|
||||
self.$scramjet.shared = {
|
||||
util: {
|
||||
|
@ -23,6 +23,7 @@ self.$scramjet.shared = {
|
|||
rewrite: {
|
||||
rewriteCss,
|
||||
rewriteHtml,
|
||||
unrewriteHtml,
|
||||
rewriteSrcset,
|
||||
rewriteJs,
|
||||
rewriteHeaders,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue