-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
88 lines (88 loc) · 3.91 KB
/
popup.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Zillow Picture Extractor</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div id="content">
<h1>Zillow Listing Image Extractor</h1>
<p>Get images from ACTIVE listings navigating to the listing page of choice.</p>
<h3>Enter Full Address (Single Line) to go to listing</h3>
<p>(Format E.g: 123 Anystreet Dr Kansas City, KS, 64444)</p>
<div id="addressInput">
<input type="text" id="address2" placeholder="Full Address">
<h3>OR Enter Address (Multiple Entries)</h3>
<input type="text" id="address" placeholder="Address">
<input type="text" id="city" placeholder="City">
<select id="state">
<option value="">Select State</option>
<!-- List of state abbreviations -->
<option value="AL">AL</option>
<option value="AK">AK</option>
<option value="AZ">AZ</option>
<option value="AR">AR</option>
<option value="CA">CA</option>
<option value="CO">CO</option>
<option value="CT">CT</option>
<option value="DE">DE</option>
<option value="FL">FL</option>
<option value="GA">GA</option>
<option value="HI">HI</option>
<option value="ID">ID</option>
<option value="IL">IL</option>
<option value="IN">IN</option>
<option value="IA">IA</option>
<option value="KS">KS</option>
<option value="KY">KY</option>
<option value="LA">LA</option>
<option value="ME">ME</option>
<option value="MD">MD</option>
<option value="MA">MA</option>
<option value="MI">MI</option>
<option value="MN">MN</option>
<option value="MS">MS</option>
<option value="MO">MO</option>
<option value="MT">MT</option>
<option value="NE">NE</option>
<option value="NV">NV</option>
<option value="NH">NH</option>
<option value="NJ">NJ</option>
<option value="NM">NM</option>
<option value="NY">NY</option>
<option value="NC">NC</option>
<option value="ND">ND</option>
<option value="OH">OH</option>
<option value="OK">OK</option>
<option value="OR">OR</option>
<option value="PA">PA</option>
<option value="RI">RI</option>
<option value="SC">SC</option>
<option value="SD">SD</option>
<option value="TN">TN</option>
<option value="TX">TX</option>
<option value="UT">UT</option>
<option value="VT">VT</option>
<option value="VA">VA</option>
<option value="WA">WA</option>
<option value="WV">WV</option>
<option value="WI">WI</option>
<option value="WY">WY</option>
</select>
<input type="text" id="zipcode" placeholder="Zip Code">
<button id="goToAddress">GO</button>
</div>
<hr/>
<h2>OR</h2>
<h3>Use Current Listing</h3>
<button id="navToZillow" class="hidden">Goto Zillow.com</button>
<button id="navToImages" class="hidden">Show Current Listing Gallery</button>
<div id="message" class="hidden"></div>
<button id="extractImgs" class="hidden">Extract Images from Current Listing</button>
<div id="imageUrls" class="hidden"></div>
</div>
<script src="jszip.min.js"></script>
<script src="popup.js"></script>
</body>
</html>