crossrider

Crossrider Extensions - are they safe

风流意气都作罢 提交于 2020-01-22 09:53:15
问题 I have started writing an extension using Crossrider, and really like it. But I have read some negative stuff about them being a browser hijacker - in particular search.crossrider.com I am unsure if search.crossrider.com is a malicious extension built using Crossrider, or Crossrider itself. Among other places, this is a link which recommends you delete this. http://forums.anvisoft.com/viewtopic-45-1190-0.html Before I continue developing in this, I thought I would ask the experts. Any

JavaScript serialize image (icon)

◇◆丶佛笑我妖孽 提交于 2020-01-03 02:22:37
问题 I am building an extension in CrossRider. I need to save images/icons, which I have their url, in a database. They are tiny images and won't be a problem in the database. I might have something like that accessible to background.js : <img src="http://something.com/icon.ico" alt="icon"> And I want to be able to serialize that image to the database (it's a key/value database) and deserialize that later and display it. Something like HTML5's FileReader.readAsDataUrl() will be good, but I can't

Sending data from popup to extension.js not working

浪尽此生 提交于 2019-12-31 04:15:25
问题 I am working on a browser extension using crossrider. I need to send some data from popup to extension.js My code of popup <!DOCTYPE html> <html> <head> <!-- This meta tag is relevant only for IE --> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <script type="text/javascript"> /************************************************************************************ This is your Popup Code. The crossriderMain() code block will be run every time the popup is opened. For more information,

Customize CrossRider installer

只谈情不闲聊 提交于 2019-12-25 00:24:08
问题 Let me detail what I'm trying to accomplish: I have 1 application that (besides the specific app code) also contains a CrossRider extension. Based on the options that the user selects when installing the application, he can enable/disable various features. To do this, my application contains a flag that dictates how it will work (for example if flag = 1 then it will connect to site 1, if flag = 2 then it will connect to site 2 etc.). I need to be able to pass this flag to my CrossRider

Sending Data From background.js to extension.js in crossrider

大兔子大兔子 提交于 2019-12-13 04:37:38
问题 I am developing a browser extension using crossrider. I have added a context menu (background.js) var ContextData; appAPI.contextMenu.add("key1", "Send Data To Server", function (data) { var ContextData = 'pageUrl: ' + data.pageUrl + '\r\n' + 'linkUrl: ' + data.linkUrl + '\r\n' + 'selectedText:' + data.selectedText + '\r\n' + 'srcUrl:' + data.srcUrl; }, ["all"]); On user click I want to send ContextData to extension.js. At extension.js some function will receive the data and send it to my

How to identify every separate browser window that is currently open?

不想你离开。 提交于 2019-12-12 08:55:55
问题 How can I uniquely identify every separate browser window that is currently open for all major browsers using javascript? Let me explain what I need to know and let's consider the scenario below: I have 3 browser windows [any modern browser, i.e. Chrome, Firefox etc.] that are currently open, each containing multiple tabs. Window #1: 3 tabs [Tab A, Tab B, and Tab C] Window #2: 2 tabs [Tab D and Tab E] Window #3: 4 tabs [Tab F, Tab G, Tab H, and Tab I] How can I uniquely identify each browser

crossrider: store snapshot of bookmarks in local database and compare to current bookmarks list

不打扰是莪最后的温柔 提交于 2019-12-12 05:21:40
问题 How do I store a snapshot of the bookmarks list and then compare that to the current bookmars list every n amount of time with a conditional statement that outputs any bookmarks that have been added? I have been trying to do this to no avail. It would be great if you could provide a code example but if you just want to explain it conceptually it would be fine. 回答1: Conceptually, you can achieve your goal by storing the previous bookmarks list in the extension's local database using appAPI.db

How to send data from popup script to background.js in crossrider?

我只是一个虾纸丫 提交于 2019-12-12 02:32:48
问题 I am developing a browser extension using crossrider. I have some resource pages like popup.html and popup.js. In popup.html, there is a form and when user submit the form I want to send the data to my server, which is straight forward. But I also want to send the active tab url along with the form data. But we can get the active tab url in background.js only. To do this I need to send the form data to background.js and then post them to my server. So my question is how to send data from

realtime with non-event programming

南笙酒味 提交于 2019-12-11 19:20:50
问题 I am currently trying to make a browser plugin using crossrider that will sync bookmarks but as there is no "on new bookmark" event how do I sync all upload new bookmarks to the server and update bookmarks lists on other connected machines in realtime? I would be inclined to do this with a websocket but as I said it is not event based. So do I poll all the clients every n seconds? That seems like a lot of data being moved and it seems taxing on the server as the process presumably wold

Crossrider extension not installing on IE

一曲冷凌霜 提交于 2019-12-10 17:52:59
问题 I have developed crossrider extension, but when I try to install that extension in Internet explorer (version 8), it gives me virus alert and antivirus does not allow it to install. I also tried installing demo extension present on crossrider site. (http://crossrider.com/download/12575) It also gave same virus alert (adware) and did not install . 回答1: In general, warnings such as these ARE NOT viruses or worms, they are merely a message that the AV solution generates to say "we consider this