Clicking an element on a page through Chrome Extension
I am trying to create a chrome extension that will click on an element on a webpage when you click a button on the extension, but for some reason it does nothing no matter what I try. I've got this so far manifest.json { "manifest_version": 2, "name": "Such Activity", "description": "Wow", "version": "1.0", "permissions": [ "tabs", "<all_urls>" ], "browser_action": { "default_icon": "icon.png", "default_popup": "popup.html" }, "content_scripts": [ { "matches": [ "<all_urls>" ], "js": ["content_script.js"] } ] } popup.html <!doctype html> <html> <head> <title>activity</title> <style> </style>