Skip to content

Commit

Permalink
proxy frfrfrfrfrfrfrfrfrfrfrfrfrfrfrfrfrfrfrfrfrfr
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-92 committed Dec 18, 2024
1 parent 3b2803e commit 7eb84e6
Show file tree
Hide file tree
Showing 17 changed files with 39 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ <h2><a href="https://github.com/thepegleg/thepegleg.github.io" target="_blank">G
<p>This project is open source on Github, opens in a new tab</p>
</article>
<article>
<h2> <a href="javascript:void(0);" onclick="var newTab = window.open('about:blank'); newTab.document.write('<head><title>Classroom</title><link rel=\'icon\' type=\'image/png\' href=\'gc.png\'></head><embed src=\'static/index.html\' style=\'position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;\'>'); return false;" style="text-decoration: none;">Proxy</a></h2>
<h2> <a href="javascript:void(0);" onclick="var newTab = window.open('about:blank'); newTab.document.write('<head><title>Classroom</title><link rel=\'icon\' type=\'image/png\' href=\'gc.png\'></head><iframe src=\'/static/index.html\' style=\'position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;\'></iframe>'); return false;" style="text-decoration: none;">Proxy</a></h2>
<p><strong>I <3 testing in production!</strong></p>
</article>
<article>
Expand Down

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
37 changes: 37 additions & 0 deletions static/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
</head>
<body style="margin: 0; font-family: Arial, sans-serif; background-color: #121212; color: #ffffff;">
<div id="header" style="background-color: #1e1e1e; padding: 10px; display: flex; align-items: center;">
<img src="/favicon.ico" alt="Logo" style="height: 40px;">
</div>
<div id="content" style="padding: 20px;">
<h1 style="font-size: 24px; text-align: center; color: #ffffff;">pegleg proxy</h1>

<form id="uv-form" style="margin-top: 20px; display: flex; justify-content: center;">
<input id="uv-search-engine" value="https://www.google.com/search?q=%s" type="hidden"/>
<input id="uv-address" type="text" placeholder="Search Google or type an URL" class="form__input" style="padding: 10px; width: 80%; border: 1px solid #444; border-radius: 4px; background-color: #1e1e1e; color: #ffffff;"/>
</form>

<div class="desc left-margin" style="margin-top: 20px; text-align: center;">
<p id="uv-error" style="color: #ff6b6b; font-size: 14px;"></p>
<pre id="uv-error-code" style="background-color: #1e1e1e; padding: 10px; border: 1px solid #333; display: inline-block; text-align: left; color: #ffffff;"></pre>
</div>
</div>

<script src="uv/uv.bundle.js" defer></script>
<script src="uv/uv.config.js" defer></script>
<script src="register-sw.js" defer></script>
<script src="search.js" defer></script>
<script src="index.js" defer></script>
<script src="error.js" defer></script>

<div id="footer" style="background-color: #1e1e1e; padding: 10px; text-align: center; position: absolute; bottom: 0; width: 100%;">
<p style="margin: 0; font-size: 14px; color: #ffffff;">credit to TIW for static proxy</p>
</div>
</body>
</html>

File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
self.__uv$config = {
prefix: '/static/tiw/',
bare:'https://tomp.app',
encodeUrl: Ultraviolet.codec.xor.encode,
decodeUrl: Ultraviolet.codec.xor.decode,
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 7eb84e6

Please sign in to comment.