Merge pull request #62 from dxbednarczyk/origin/proxy_v2

Update deps and move non `*.go` files to vendor directories
This commit is contained in:
Kevin Pham
2023-12-06 08:56:48 -06:00
committed by GitHub
10 changed files with 29 additions and 34 deletions

View File

@@ -8,7 +8,7 @@ import (
"ladder/proxychain/responsemodifiers/rewriters"
)
//go:embed block_element_removal.js
//go:embed vendor/block_element_removal.js
var blockElementRemoval string
// BlockElementRemoval prevents paywall javascript from removing a

View File

@@ -19,7 +19,7 @@ import (
"github.com/markusmobius/go-trafilatura"
)
//go:embed generate_readable_outline.html
//go:embed vendor/generate_readable_outline.html
var templateFS embed.FS
// GenerateReadableOutline creates an reader-friendly distilled representation of the article.

View File

@@ -9,7 +9,7 @@ import (
"ladder/proxychain/responsemodifiers/rewriters"
)
//go:embed patch_dynamic_resource_urls.js
//go:embed vendor/patch_dynamic_resource_urls.js
var patchDynamicResourceURLsScript string
// PatchDynamicResourceURLs patches the javascript runtime to rewrite URLs client-side.

View File

@@ -8,7 +8,7 @@ import (
"ladder/proxychain"
)
//go:embed patch_google_analytics.js
//go:embed vendor/patch_google_analytics.js
var gaPatch string
// PatchGoogleAnalytics replaces any request to google analytics with a no-op stub function.