added deployments
This commit is contained in:
		
							parent
							
								
									0a9ad7c0e2
								
							
						
					
					
						commit
						a579c3a50a
					
				
					 1 changed files with 10 additions and 8 deletions
				
			
		
							
								
								
									
										10
									
								
								src/main.ts
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								src/main.ts
									
										
									
									
									
								
							| 
						 | 
					@ -6,13 +6,13 @@ function noSearchDefaultPageRender() {
 | 
				
			||||||
  app.innerHTML = `
 | 
					  app.innerHTML = `
 | 
				
			||||||
    <div style="display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh;">
 | 
					    <div style="display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh;">
 | 
				
			||||||
      <div class="content-container">
 | 
					      <div class="content-container">
 | 
				
			||||||
        <h1>Und*ck</h1>
 | 
					        <h1>SearchLock</h1>
 | 
				
			||||||
        <p>DuckDuckGo's bang redirects are too slow. Add the following URL as a custom search engine to your browser. Enables <a href="https://duckduckgo.com/bang.html" target="_blank">all of DuckDuckGo's bangs.</a></p>
 | 
					        <p>DuckDuckGo's bang redirects are too slow. Add the following URL as a custom search engine to your browser. Enables <a href="https://duckduckgo.com/bang.html" target="_blank">all of DuckDuckGo's bangs.</a></p>
 | 
				
			||||||
        <div class="url-container">
 | 
					        <div class="url-container">
 | 
				
			||||||
          <input
 | 
					          <input
 | 
				
			||||||
            type="text"
 | 
					            type="text"
 | 
				
			||||||
            class="url-input"
 | 
					            class="url-input"
 | 
				
			||||||
            value="https://unduck.link?q=%s"
 | 
					            value="https://search.sys256.com?q=%s"
 | 
				
			||||||
            readonly
 | 
					            readonly
 | 
				
			||||||
          />
 | 
					          />
 | 
				
			||||||
          <button class="copy-button">
 | 
					          <button class="copy-button">
 | 
				
			||||||
| 
						 | 
					@ -21,11 +21,13 @@ function noSearchDefaultPageRender() {
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <footer class="footer">
 | 
					      <footer class="footer">
 | 
				
			||||||
        <a href="https://t3.chat" target="_blank">t3.chat</a>
 | 
					        <a href="https://aadit.cc" target="_blank">me</a>
 | 
				
			||||||
        •
 | 
					        •
 | 
				
			||||||
        <a href="https://x.com/theo" target="_blank">theo</a>
 | 
					        <a href="https://x.com/theo" target="_blank">theo</a>
 | 
				
			||||||
        •
 | 
					        •
 | 
				
			||||||
        <a href="https://github.com/t3dotgg/unduck" target="_blank">github</a>
 | 
					        <a href="https://github.com/t3dotgg/unduck" target="_blank">github</a>
 | 
				
			||||||
 | 
					        •
 | 
				
			||||||
 | 
					        <a href="https://github.com/aaditagrawal/unduck-plus" target="_blank">github_of_fork</a>
 | 
				
			||||||
      </footer>
 | 
					      </footer>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
  `;
 | 
					  `;
 | 
				
			||||||
| 
						 | 
					@ -68,7 +70,7 @@ function getBangredirectUrl() {
 | 
				
			||||||
  const searchUrl = selectedBang?.u.replace(
 | 
					  const searchUrl = selectedBang?.u.replace(
 | 
				
			||||||
    "{{{s}}}",
 | 
					    "{{{s}}}",
 | 
				
			||||||
    // Replace %2F with / to fix formats like "!ghr+t3dotgg/unduck"
 | 
					    // Replace %2F with / to fix formats like "!ghr+t3dotgg/unduck"
 | 
				
			||||||
    encodeURIComponent(cleanQuery).replace(/%2F/g, "/")
 | 
					    encodeURIComponent(cleanQuery).replace(/%2F/g, "/"),
 | 
				
			||||||
  );
 | 
					  );
 | 
				
			||||||
  if (!searchUrl) return null;
 | 
					  if (!searchUrl) return null;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue