Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 1013 Bytes

checkwebdie-js.md

File metadata and controls

9 lines (8 loc) · 1013 Bytes
title date categories
CheckWebDie.Js
2023-11-23
useful-script-en

how to add bookmarklet in chrome
import { getCurrentTab } from "./helpers/utils.js"; export default { icon: 'https://s2.googleusercontent.com/s2/favicons?domain=downforeveryoneorjustme.com', name: { en: "Dowfor – Check web die", vi: "Dowfor – Check web die", }, description: { en: "Check web die using downforeveryoneorjustme", en: "Use 3rd party to check if the website is really dead", }, onClickExtension: async function() { let { url } = await getCurrentTab(); if (url) { let url_to_check = prompt("Enter web url to check", url); if (url_to_check) { window.open("https://downforeveryoneorjustme.com/" + url_to_check); } } else { alert("Current web url not found"); } }, };