43 lines
2.5 KiB
Python
43 lines
2.5 KiB
Python
import io
|
||
|
||
p = "/Users/drjones/pest-nocturne/index.html"
|
||
s = open(p).read()
|
||
|
||
NOSCRIPT = '''<noscript>
|
||
<div style="font-family:system-ui,sans-serif;max-width:720px;margin:2rem auto;padding:0 1rem;color:#1a1a1a">
|
||
<h1>Evergreen Applicator — Washington Pesticide Applicator Exam Prep</h1>
|
||
<p>Free study suite to pass the Washington State Department of Agriculture (WSDA) pesticide applicator license. 318 practice questions, a timed 50-question mock exam, and a pest identification field guide.</p>
|
||
<h2>License categories covered</h2>
|
||
<ul>
|
||
<li><strong>Core</strong> (general standards) — required for every commercial applicator</li>
|
||
<li><strong>Structural</strong> — structural pest control: wood-destroying organisms, cockroaches, ants, rodents, bed bugs</li>
|
||
<li><strong>Ornamental & Turf</strong> — lawn and landscape pests, weeds, turf disease</li>
|
||
<li><strong>Agricultural</strong> — crop pest control and field application</li>
|
||
</ul>
|
||
<h2>Exam knowledge areas</h2>
|
||
<ul>
|
||
<li>Pesticide safety, storage, and formulations</li>
|
||
<li>Label reading (signal words, directions for use)</li>
|
||
<li>Environmental protection (drift, buffer zones, groundwater, pollinators)</li>
|
||
<li>Laws & regulations (FIFRA, Worker Protection Standard, recordkeeping)</li>
|
||
<li>Integrated Pest Management (IPM) — monitoring, thresholds, biological control</li>
|
||
<li>Toxicology — LD50, exposure routes, first aid</li>
|
||
<li>Application equipment, nozzles, and calibration</li>
|
||
<li>Personal protective equipment (PPE)</li>
|
||
<li>Worker Protection Standard (WPS) and restricted-entry intervals</li>
|
||
<li>Calibration & math — GPA, mixing ratios, nozzle output</li>
|
||
</ul>
|
||
<h2>Washington exam format</h2>
|
||
<p>50–100 multiple-choice questions, 120 minutes, closed book, 70% to pass. Exam fee $33, license fee $73. Renew every 5 years with 40 continuing-education units (CEUs). Administered by WSDA at (360) 902-2020 (agr.wa.gov).</p>
|
||
<h2>Pest identification field guide</h2>
|
||
<p>13 chapters covering dampwood and subterranean termites, carpenter ants, cockroaches, stored-product pests, rodents, spiders, and more — with real photographs and Washington-specific field notes.</p>
|
||
<p><em>Enable JavaScript to use the interactive study suite, flashcards, and practice exams.</em></p>
|
||
</div>
|
||
</noscript>'''
|
||
|
||
# inject the noscript right after </main>
|
||
s = s.replace("</main>", "</main>\n" + NOSCRIPT, 1)
|
||
|
||
open(p, "w").write(s)
|
||
print("noscript SEO block injected; size", len(s))
|