google-chrome-extension

Load Unpacked Chrome Extension not working

大城市里の小女人 提交于 2020-01-16 19:33:09
问题 I'm getting started on my first extension using the Chrome tutorial and got tripped up almost immediately. Says to click Load Unpacked and then select the file path to the manifest file. However, when I click Load Unpacked nothing shows up; no file explorer or even an error message. There's no change to the screen. Any understanding on why this might be happening? 来源: https://stackoverflow.com/questions/58697679/load-unpacked-chrome-extension-not-working

waitForKeyElements(); - Stop a script firing on a popup in Chrome Extension?

一个人想着一个人 提交于 2020-01-16 18:13:15
问题 This question is a follow-on to another question which needed asking and warranted a new post, so excuse me if I refer to things which may not be clear without reading the other question. When using the utility waitForKeyElements() I'm facing an issue in which a div is included inside a small popup contained within the same URL. My extension is currently running on the Twitter site, and my intention is that a div contained on the profile pages (e.g. http://twitter.com/todayshow) gets moved

How to use a library ported for Native Client(NaCl)?

一个人想着一个人 提交于 2020-01-16 11:27:48
问题 I was looking at the list of naclports for ported libraries and I want to use openssl for my native client extention. I can't find a proper instruction set to install these ported libraries, I downloaded the openssl compressed file and followed the instructions given in INSTALL file but that encountered some errors which I can't resolve. 回答1: To install a library ported to Native Client as part of naclports you'll need to: Download and install the NaCl SDK: https://developer.chrome.com/native

Getting Snippet Of Text From External Page Into Google Chrome Extension

我们两清 提交于 2020-01-16 08:09:20
问题 I'm try to develop a simple google chrome extension. What it does it that it displays the number of downloads on a page (the count) and display it in a popup. The page in question that needs monitoring is a page which can only be acessed after logged in. So I need to basically use html and javascript to 'scrap' the count number from the page and display it in a popup. So far I have created the barebones of the exntension: { "name": "Downloads Logger", "version": "1.0", "manifest_version": 2,

Getting Snippet Of Text From External Page Into Google Chrome Extension

旧巷老猫 提交于 2020-01-16 08:09:19
问题 I'm try to develop a simple google chrome extension. What it does it that it displays the number of downloads on a page (the count) and display it in a popup. The page in question that needs monitoring is a page which can only be acessed after logged in. So I need to basically use html and javascript to 'scrap' the count number from the page and display it in a popup. So far I have created the barebones of the exntension: { "name": "Downloads Logger", "version": "1.0", "manifest_version": 2,

Getting Snippet Of Text From External Page Into Google Chrome Extension

送分小仙女□ 提交于 2020-01-16 08:09:07
问题 I'm try to develop a simple google chrome extension. What it does it that it displays the number of downloads on a page (the count) and display it in a popup. The page in question that needs monitoring is a page which can only be acessed after logged in. So I need to basically use html and javascript to 'scrap' the count number from the page and display it in a popup. So far I have created the barebones of the exntension: { "name": "Downloads Logger", "version": "1.0", "manifest_version": 2,

Using jQuery with Content Script and Chrome Extension

假装没事ソ 提交于 2020-01-16 05:35:10
问题 I'm trying to create a chrome extension that pops up a small input when a user highlights text on the page (similar to Medium's tweet on text highlight feature). I'm progressing but would find it much easier to use jQuery (rather than vanilla JS and XHRs). I've seen a few posts about requiring jQuery in the manifest, and I've tried it many different ways without success. I have a manifest(below), a contentscript.js and dropdown.js(the file I want to inject onto the page). { "name": "na",

Initiate TCP connection from a browser (extension)?

谁说我不能喝 提交于 2020-01-16 02:05:31
问题 Is it possible to initiate a TCP connection from a browser? If so, does there already exist browser (esp. Firefox and Chrome) extensions that do this? If no extensions exist yet, do you know the core elements/functions to create a Firefox/Chrome browser-initiated TCP connection? 回答1: The Chrome Browser (I think since v24 in the stable channel) lets you host a TCP server, and the samples indicate that it can connect to a telnet server, which means that it is also capable of being a TCP client.

bug in chrome.storage.local that seems to affect extensions only on Mac OS X?

徘徊边缘 提交于 2020-01-16 01:47:35
问题 I am trying to set, and later request the data stored locally in an extension The way I am doing this is sending a request from the content script as follows chrome.runtime.sendMessage({method: "fetchData"}, doSomething) On the background page, the message is received and parsed by: chrome.runtime.onMessage.addListener(getData); where getData is a function as follows: var getData = function(message, sender, sendResponse) { if (message.method == "fetchData"){ chrome.storage.local.get('myinfo'

clipBoard using chrome api execCommand

白昼怎懂夜的黑 提交于 2020-01-16 00:43:19
问题 I am using chrome extenstion and want to implement cut copy paste command . In my project i am using canvas . I want to use execCommand function for this . when i implement document.execCommand('copy') and then paste it does not work . i have also changed permission in manifest file . can anybody tell me how this command will work . i tried link http://www.geekpedia.com/tutorial126_Clipboard-cut-copy-and-paste-with-JavaScript.html but document.selection.... is not working undefine error come