Created
June 18, 2020 04:35
-
-
Save fernyb/98424093efcae8ed93f0804da17b4f89 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// ==UserScript== | |
// @name Do a search | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Simple Search | |
// @author You | |
// @match https://www.yellowpages.com* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
document.querySelectorAll("input")[0].value = "Pizza"; | |
document.querySelectorAll("input")[1].value = "Los Angeles, CA"; | |
document.querySelectorAll("[type=submit]")[0].click(); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment