0

私のサイトを検索できる Chrome ブラウザ拡張機能を作ろうとしています。サイトの検索ボックスが機能します。しかし、同じ HTML コードを拡張ファイルに追加すると、機能しません。私の検索ボックスのコードは次のとおりです。

<form class="text-center" id="searchGuides" action="https://www.arcanumgaming.com/game" method="GET">
     <input type="hidden" name="a" value="search" />
     <input type="hidden" name="g" value="grand-theft-auto-v" />
     <div >
            <input type="text" name="searchVal" class="searchField" placeholder="Search Game Content"  />
     </div>
     <div >
            <a href="#" class="searchBtn" onclick="document.getElementById('searchGuides').submit();">Search Content</a>
     </div>
</form>

4

1 に答える 1