Questions tagged [crossrider]

Crossrider is a cloud-based development framework that enables developers to easily create cross browser extensions while maintaining a single codebase.

Crossrider is a an emerging cloud-based development framework that enables developers to easily create cross browser extensions. It uses a single API and supports JavaScript and jQuery so developers with basic knowledge in JavaScript can write code that is easily maintainable while working across all major browsers - Chrome, Firefox, IE, and Safari.

This tag should be used for general questions regarding how the Crossrider framework works and how to use the API.

Questions about browser-specific extension issues should not be tagged with Crossrider if the question is specifically about a certain browser's API (use , , etc.).

238 questions
1
vote
1 answer

Run at document start

I am writing an extension need to run at document start. I tried placing the code outside appAPI.ready in the extension.js file but it's still running too late. In chrome I use the "run_at": "document_start" option. How can I do the same in my…
1
vote
1 answer

Change HTML Page in Crossrider Popup

I have a popup called picker.html that contains two options - either going to the options page (that crossrider doesnt natively support) or opening up a webpage. There could also be more options. Now, when the "Go to Options" button is pressed i…
James Cameron
  • 1,681
  • 25
  • 40
1
vote
1 answer

Save a date value in local storage from a resource file and retrieve from background.js using crossrider

I need to save the date value of a particular action into the local storage from a resource file. The date value should be compared with the current date in the background in regular intervals. the code i am using in the resource file to store the…
1
vote
1 answer

How to use FormData with the crossrider api?

I'm trying to post form data with the content type of 'multipart/form-data' using the crossrider api. If I pass the FormData javascript object to the api it doesn't send the form data correctly. Does anyone have an idea on how to correctly post…
NullReference
  • 4,404
  • 12
  • 53
  • 90
1
vote
0 answers

Crossrider browser button icon is very blurry

I have a browser button configured for IE, which uses an icon. The problem is the icon is pixellated and blurry. I tried uploading various icons of different sizes (19x19, 40x4, 65x65), however the icon looks almost the same every time (pixellated…
Alex G.
  • 31
  • 2
1
vote
1 answer

addRemoteJS api not working in crossrider extension in firefox due to content security policy

In my crossrider extension I am adding remote JS on gmail page using following api. appAPI.dom.addRemoteJS({ url: "https://myserver.com/JS/myJs.min.js", additionalAttributes: {charset: "UTF-8"}, callback: function(ref) { } This was a…
user1142864
  • 89
  • 1
  • 7
1
vote
0 answers

Unable to run Crossrider extension on firefox, not even in debug mode

I am unable to run my Crossrider extension on Firefox 34.0.5. I have enabled all about:config needed variables in order to trace errors but can't get any error in the consoles (page console, browser console). I am also unable to install the…
Yogev Smila
  • 111
  • 1
  • 3
1
vote
2 answers

Button does not appear on IE

I have an extension that adds a button to the browser and it work in Chrome. When I install the extension on Internet Explorer the button does not appear. What am I doing wrong? My code looks like this: appAPI.ready(function() { …
1
vote
1 answer

Crossrider: Trigger action to open popup

I need some insight about the browser action that triggers the popup. Can I open a popup from one of the following scenarios? Trigger an action to open popup from a page on a website? Trigger an action to open popup from within extension scope? Is…
aqua
  • 377
  • 4
  • 17
1
vote
1 answer

CrossRider - is there a way to pass arrays as function parameters without converting them to objects?

We are using CrossRider to develop an extension for Internet Explorer. We have an object which is downloaded from http://jsons.[part_of_link_suppressed].com.s3.amazonaws.com/selectors.json. I found out that when this object is sent to a callback,…
Uri
  • 2,992
  • 8
  • 43
  • 86
1
vote
1 answer

How to run extension code only once upon installation

When my extension runs for the first time, I want to register the installation with my server. However, I only want the registration to occur the first time the extension is run after installation. How can I achieve this in by background scope?…
1
vote
1 answer

Run extension in iframes only

I'm writing an extension and I want part of the code to only run in iframes. Currently, all the code in my extensuin.js file runs in the page and iframes How can I detect that the code is running in an iframe so that I can run iframe specific…
1
vote
1 answer

Crossrider returning zip instead of .crx when installing the extension

I am trying to install the extension in Chrome and when I click on install then zip file is downloaded not the .crx. How do I install zip file as a chrome extension ? Please help.
Sumit Raj
  • 113
  • 1
  • 3
  • 10
1
vote
0 answers

Using AngularJS with Crossrider

I have started testing Crossrider to build browser extensions and I think is has some potential. I would like to use AngularJS alongside with crossrider. Is that possible?
aqua
  • 377
  • 4
  • 17
1
vote
1 answer

How do I nest includes?

I'm using includes in my extension.js file and want to be able to nest other include files. For example: I want to include a file 1.js which in turn includes 1-1.js and 1-2.js, and then 1-2.js includes 1-2-1.js and 1-2-2.js. I can use…
1 2
3
15 16