草庐IT

关于 javascript:jQuery $(document).off() not working in Chrome extension

jQuery$(document).off()notworkinginChromeextension我已经创建了一个基于https://thoughtbot.com/blog/how-to-make-a-chrome-extension的Chrome扩展程序(查看最后完成的文件)我做了两处更改:我使用jQuery3.1.1最小化而不是上面页面中给出的旧版本,并且我更改了content.js:1234567chrome.runtime.onMessage.addListener(  function(request,sender,sendResponse){    if(request.mess

关于 javascript:jQuery $(document).off() not working in Chrome extension

jQuery$(document).off()notworkinginChromeextension我已经创建了一个基于https://thoughtbot.com/blog/how-to-make-a-chrome-extension的Chrome扩展程序(查看最后完成的文件)我做了两处更改:我使用jQuery3.1.1最小化而不是上面页面中给出的旧版本,并且我更改了content.js:1234567chrome.runtime.onMessage.addListener(  function(request,sender,sendResponse){    if(request.mess