我正在测试我的chrome扩展程序,但它无法加载本地jquery-3.3.1.js,即使我尝试了在线jquery URL https://code.jquery.com/jquery-3.3.1.min.js
,它也一遍又一遍地给出相同的错误,我应该怎么做才能使它工作,我的代码应如下所示
<!doctype html>
<html>
<head>
<title>Spoiler Blocker</title>
<link href="popup.css" media="all" rel="stylesheet" type="text/css">
</head>
<body>
<div id="form">
<h3>Type in the name of a show you want to Unspoil</h3>
<input id="spoiler-input" type="text" placeholder="Breaking Bad">
<button id="unspoil-button" class="btn btn-primary">Unspoil</button>
</div>
<main id="showslist" class="app__body">
<!-- TaskItems will be rendered here -->
</main>
<!-- <script type="text/javascript" src="./jquery-3.3.0.js"></script>
-->
<script src="https://code.jquery.com/jquery-3.3.1.min.js "></script>
<script type="text/javascript" src="./init.js"></script>
<script type="text/javascript" src="./popup.js"></script>
<script type="text/javascript" src="./content.js"></script>
</body>
</html>