google-chrome-extension

How to put chrome extension under the task context?

一世执手 提交于 2020-05-17 06:23:26
问题 My extension is BBox Counter , i want to put BBox Counter under the task context like AdGuard AdBlocker. manifest.json { "name": "BBox Counter", "version": "2.0", "manifest_version": 2, "content_scripts": [ { "match_about_blank": true, "all_frames": true, "matches": ["<all_urls>"], "js": ["content.js"] } ], "browser_action": { "default_icon": "16.png", "default_popup": "popup.html", "default_title": "BBox Counter" }, "permissions": [ "activeTab", "contextMenus", "storage", "identity" ],

Talk to MacOSX app from Chrome Extension

Deadly 提交于 2020-05-16 21:48:06
问题 I have a chrome extension running in my browser. I also have a Mac OSX app I wrote in Swift/Objective-c in Xcode. I am wondering how this chrome extension can talk to the Mac OSX app on the same computer. I am aware of the Chrome Extension API, but do not know how I can capture the information from that is sent by Chrome in Swift. Does anyone know how to do this? Thanks 回答1: There are two broad approaches you can take. Native Messaging API. This does have the limitation that Chrome must

How can I get selected text in pdf in Javascript?

[亡魂溺海] 提交于 2020-05-16 19:12:38
问题 I'm writing a Chrome Extention to manipulate pdf file so I want to get selected text in the pdf. How can I do that. Some thing like that: 回答1: There is no one generic solution for all pdf extensions. Every extention has is own API. If you work with google-chrome extension i belive it's impossible. How to get the selected text from an embedded pdf in a web page? https://html.developreference.com/article/23259983/How+extension+get+the+text+selected+in+chrome+pdf+viewer%EF%BC%9F 回答2: You can use

How can I get selected text in pdf in Javascript?

狂风中的少年 提交于 2020-05-16 19:12:11
问题 I'm writing a Chrome Extention to manipulate pdf file so I want to get selected text in the pdf. How can I do that. Some thing like that: 回答1: There is no one generic solution for all pdf extensions. Every extention has is own API. If you work with google-chrome extension i belive it's impossible. How to get the selected text from an embedded pdf in a web page? https://html.developreference.com/article/23259983/How+extension+get+the+text+selected+in+chrome+pdf+viewer%EF%BC%9F 回答2: You can use

Apps Script vs Chrome Extension: Writing an alternative spellchecker to Google Docs

半城伤御伤魂 提交于 2020-05-16 08:55:50
问题 Say, I want to develop an alternative spellcheck module to google docs . This means that I have to get corrections from my backend, and color the misspelled text's background, and do a small popup bubble when user hovers over it, where I'd display the correction. (please mind that spellcheck is not the actual goal of my project, but it does address my problems in a more simplified way) What are my options? Any ideas how to do this? Few possible solutions I came up with: Chrome extension vs

Apps Script vs Chrome Extension: Writing an alternative spellchecker to Google Docs

你。 提交于 2020-05-16 08:54:28
问题 Say, I want to develop an alternative spellcheck module to google docs . This means that I have to get corrections from my backend, and color the misspelled text's background, and do a small popup bubble when user hovers over it, where I'd display the correction. (please mind that spellcheck is not the actual goal of my project, but it does address my problems in a more simplified way) What are my options? Any ideas how to do this? Few possible solutions I came up with: Chrome extension vs

use VueRouter and Vue.js in Chrome Extension - Issues with path segments

佐手、 提交于 2020-05-15 04:07:54
问题 I developing a chrome extension with Vue.js. Works fine until I hit the part when I want to use routing. On my local developing server where I have localhost:8080/ this is not a problem when using following routing setup: main.js import Vue from "vue"; import VueRouter from "vue-router"; import App from "./App.vue"; import OptionComponent from "./OptionComponent.vue"; const routes = [ { path: '/', component: App }, { path: '/option', component: OptionComponent }, ]; Vue.use(VueRouter); //

use VueRouter and Vue.js in Chrome Extension - Issues with path segments

泄露秘密 提交于 2020-05-15 04:07:27
问题 I developing a chrome extension with Vue.js. Works fine until I hit the part when I want to use routing. On my local developing server where I have localhost:8080/ this is not a problem when using following routing setup: main.js import Vue from "vue"; import VueRouter from "vue-router"; import App from "./App.vue"; import OptionComponent from "./OptionComponent.vue"; const routes = [ { path: '/', component: App }, { path: '/option', component: OptionComponent }, ]; Vue.use(VueRouter); //

Is it still possible to create a paid extension

旧巷老猫 提交于 2020-05-14 05:54:08
问题 In the Web Store Developer Dashboard, I see no way to set the price for an extension I am uploading. Am I missing something? Or is it no longer possible to create a paid extension? I saw an article saying they were removing paid extensions in January but there are still paid extensions on the store. 回答1: I got an email yesterday from chromewebstore-dev-support@google.com that included this info: Chrome Web Store payments - We are disabling the ability to create new paid items or add payments

Chrome extension unable to select DOM element

一个人想着一个人 提交于 2020-05-13 12:19:09
问题 I want to write a Chrome extension that reacts to the clicking on a specific element on a page (example of this type of page: https://www.mentimeter.com/s/ea1639a1b16e623b9c7b4bc884f86aae/cc3aaa4bae22). The specific element I really am interested in is a <rect> element, but for the sake of simplicity I provide this demo which shows that I can get the script to react to the clicking on a high-level <div id="root"> element but not its child <div class="application mm-ui"> (see listing of page