{"id":15656811,"url":"https://github.com/nicosantangelo/weaintfoundshit.js","last_synced_at":"2025-08-01T05:37:46.393Z","repository":{"id":43143865,"uuid":"63038622","full_name":"nicosantangelo/weaintfoundshit.js","owner":"nicosantangelo","description":"For those times when finding something in the DOM gets boring","archived":false,"fork":false,"pushed_at":"2017-04-23T00:34:27.000Z","size":39,"stargazers_count":24,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-05T15:53:50.987Z","etag":null,"topics":["javascript"],"latest_commit_sha":null,"homepage":"https://nicosantangelo.github.io/weaintfoundshit.js","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nicosantangelo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-11T05:16:17.000Z","updated_at":"2024-04-08T01:22:08.000Z","dependencies_parsed_at":"2022-09-22T06:51:10.701Z","dependency_job_id":null,"html_url":"https://github.com/nicosantangelo/weaintfoundshit.js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nicosantangelo/weaintfoundshit.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicosantangelo%2Fweaintfoundshit.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicosantangelo%2Fweaintfoundshit.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicosantangelo%2Fweaintfoundshit.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicosantangelo%2Fweaintfoundshit.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicosantangelo","download_url":"https://codeload.github.com/nicosantangelo/weaintfoundshit.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicosantangelo%2Fweaintfoundshit.js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268175957,"owners_count":24208361,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript"],"created_at":"2024-10-03T13:04:26.901Z","updated_at":"2025-08-01T05:37:46.330Z","avatar_url":"https://github.com/nicosantangelo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# weaintfoundshit.js\n\nA script to quickly tell whether or not your search for a DOM element was sucessful\n\n## Use\n\nTo give it a try, add the script to your site and do something like:\n\n```\ndocument.querySelectorAll('itsamemario')\ndocument.querySelector('#its \u003e .john ~ .cena')\n\n// If you use jQuery\njQuery('#not-enough-jquery')\n```\n\n\u003csub\u003eIf any of those matched something, please email me your site\u003c/sub\u003e\n\n## Customize\n\nIf you don't like the default video (or like to be edgy by making the name of the script rather pointless) you can modify:\n\n```\nwindow.WEAINTFOUND_VIDEO_TYPE  // Default: \"video/mp4\";\nwindow.WEAINTFOUND_VIDEO_URL   // Default: \"//i.imgur.com/2IuUuar.mp4\";\n```\n\nIf the URL produces an error, you don't have `\u003cvideo\u003e` support, or you're not connected to the interwebs, a fallback with text will ensue.\n\n## What if I want to use it in every site I visit ?\n\n\nI got you covered, add this as an URL to a new bookmark:\n\n```\njavascript:var s = document.createElement('script');s.src = 'https://cdn.rawgit.com/NicoSantangelo/weaintfoundshit.js/master/weaintfoundshit.min.js';document.getElementsByTagName('body')[0].appendChild(s);s.onload = function () { console.log('Script loaded, everybody rejoice!')};\n```\n\n## Demo\n\n[Over here](https://nicosantangelo.github.io/weaintfoundshit.js) ( [mobile/not dev version](https://nicosantangelo.github.io/weaintfoundshit.js/interactive.html) )\n\n\n**That's all folks**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicosantangelo%2Fweaintfoundshit.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicosantangelo%2Fweaintfoundshit.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicosantangelo%2Fweaintfoundshit.js/lists"}