-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
really simple
- Loading branch information
Showing
1 changed file
with
115 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
<!doctype html> | ||
<html class="no-js" lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<script> | ||
const urlInput = document.getElementById('url'); | ||
const generateLinksButton = document.querySelector('button[type="submiturl"]'); | ||
const linksContainer = document.getElementById('links'); | ||
generateLinksButton.addEventListener('click', (event) => { | ||
event.preventDefault(); | ||
const url = urlInput.value; | ||
if (!url) return; | ||
|
||
const links = [ | ||
`https://search.google.com/search-console/r/3d-models?resource_id=${url}`, | ||
`https://search.google.com/search-console/amp?resource_id=${url}`, | ||
`https://search.google.com/search-console/amp-articles?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/breadcrumbs?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/auto-user-review?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/carousels?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/courses?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/critic-reviews?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/datasets?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/employer-ratings?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/estimated-salaries?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/events?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/fact-check?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/faq?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/financial-wellness?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/guided-recipes?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/how-to?resource_id=${url}`, | ||
`https://search.google.com/search-console/https?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/image-licenses?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/job-trainings?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/jobs?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/learning-video?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/lenslets?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/lists?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/live-coverage-articles?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/local-business?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/logos?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/math-solvers?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/medical-conditions?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/merchant-listings?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/movies?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/paywalled-content?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/person?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/practice-problems?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/product?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/q-and-a?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/recipes?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/review-snippet?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/sitelinks-searchbox?resource_id=${url}`, | ||
`https://search.google.com/search-console/shopping-tab-listings?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/software-apps?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/special-announcements?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/sports-videos?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/subscribed-content?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/unknown-type?resource_id=${url}`, | ||
`https://search.google.com/search-console/r/videos?resource_id=${url}` | ||
]; | ||
|
||
linksContainer.innerHTML = ''; | ||
links.forEach((link, index) => { | ||
const linkElement = document.createElement('a'); | ||
linkElement.href = link; | ||
linkElement.target = '_blank'; | ||
switch (index) { | ||
// case 0: | ||
// linkElement.innerText = 'Products Listings'; | ||
// break; | ||
// case 1: | ||
// linkElement.innerText = 'Merchant Listings'; | ||
// break; | ||
// case 2: | ||
// linkElement.innerText = 'Shopping Tab Listings'; | ||
// break; | ||
default: | ||
linkElement.innerText = `Link ${index + 1}: Click here to visit ${link}`; | ||
} | ||
linksContainer.appendChild(linkElement); | ||
linksContainer.appendChild(document.createElement('br')); | ||
}); | ||
}); | ||
</script> | ||
<title>Google Search Console Uncovered</title> | ||
<meta name="description" content=""> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<meta property="og:title" content=""> | ||
<meta property="og:type" content=""> | ||
<meta property="og:url" content=""> | ||
<meta property="og:image" content=""> | ||
|
||
<link rel="icon" href="/favicon.ico" sizes="any"> | ||
<link rel="icon" href="/icon.svg" type="image/svg+xml"> | ||
<link rel="apple-touch-icon" href="icon.png"> | ||
|
||
<link rel="stylesheet" href="css/normalize.css"> | ||
<link rel="stylesheet" href="css/style.css"> | ||
|
||
<link rel="manifest" href="site.webmanifest"> | ||
<meta name="theme-color" content="#fafafa"> | ||
</head> | ||
|
||
<body> | ||
|
||
<!-- Add your site or application content here --> | ||
<form> | ||
<label for="url">Enter an URL or Domain:</label> | ||
<input type="text" role="textbox" id="url" name="url"> | ||
<button type="submiturl">Generate Links</button> | ||
</form> | ||
<div id="links"></div> | ||
</body></html> |