JQuery :: Firefox Extension Is Broken In V1.3.2 ?
Apr 3, 2009
I am developing a Firefox extension and after upgrading from jQuery v1.2.6 to v1.3.2 I found that including jQuery in the XUL-file will break other extensions that displays buttons on the toolbar, among those is Adblock Plus.
I have not tried any versions between those mentioned so I do not know in what version this happened. If i revert to v1.2.6 everything is OK.
View 6 Replies
ADVERTISEMENT
May 29, 2009
I have an issue in which any and all jQuery function calls are broken in Internet Explorer and Google Chrome but it functions properly in Firefox and even Firefox doesn't give me any Javascript errors.[URL]..
View 1 Replies
View Related
Nov 8, 2007
This might be more of a firefox extension development question but it has to do with JS so i'll ask here in hopes of finding someone with experience in this.
My extension requires the URL of the image that was right clicked. Meaning I have added a new option in the right-click menu when an image is right-clicked that calls a function in my JS file
JavaScript Code:
imgSrc ();
This function requires the URL of the image that was right clicked to be passed into it. Does anyone know how I would do that?
View 2 Replies
View Related
Mar 20, 2009
I have a website in development that has some similarities to Kaboodle.com. I need a FF/IE toolbar button build that can extract images from a website and populate them into my db for display in my pages. This fucntion will work identical to how kaboodle.com works. I had the firefox buttons developed by some freelances, however they lacked the expertise in javascript to make them work correctly.
I need advise on where to turn to so that I can get a quality finished product. I wish to have the work done and I plan to post up a job but I need to know how to word it. Does anyone have experience with this? Can someone point me in the right direction?
View 3 Replies
View Related
May 15, 2010
I'm actually doing a firefox extension in which i would like to implement the jWebsocket API in order to build a small chat. I got my main script file, named test.js, and the jWebsocket lib into a js folder. Just for you to know, this is my first firefox extension ever. So in my XUL file I got this :
[Code]....
View 1 Replies
View Related
Nov 18, 2010
I have started to work on an extension that triggers when the page has been loaded. The problem I have is that the event is triggered twice. Its almost as if two threads are created when the users navigates or browses web sites. Why does this happen and how could this be changed to only trigger once. I have attached the files. Here is the browser.xul file
[Code]...
View 1 Replies
View Related
Mar 18, 2010
I am writing a firefox extension and I need to execute a YQL query everytime the user changes webpage on their browser.For now, all i am concerned with is detecting if their is a webpage change.For example. User is on [URL] then switches to [URL] At this point i need to call a function.So far all i can find is an onload=function()Which is only working once when the browser opens up.
View 1 Replies
View Related
Jun 30, 2011
Seehttp://api.jquery.com/category/deferred-object/links tohttp://api.jquery.com/jQuery.thenhttp://api.jquery.com/jQuery.doneetc don't work.
Is it possible to post a patch to the docs somewhere?
View 1 Replies
View Related
Apr 5, 2011
Is it just me, or can no one else see the content of the documentation pages?All I get is a blank window. I've tried multiple browsers on multiple computers with no difference.
View 5 Replies
View Related
Feb 3, 2011
In jQuery 1.4.4 I could load a JSON file from subdomain2.website.com to subdomain1.website.com without any problems. When I upgraded to jQuery 1.5 this didn't work anymore.
Is this a jQuery bug
$.getJSON("http://subdomain2.website.com/resources/data.json", function( data ) {
console.log("data");
});
View 4 Replies
View Related
Mar 25, 2011
I have abutton with an icon and the icon is displaced, when it is placed inside a span that has the class ui-widget-content
I believe that this person was having the same issue[URL]...I could just use a different class for the span,I just wondered if there was a
[Code]...
View 1 Replies
View Related
Oct 29, 2009
When I load an HTML file dynamically which contain relative links with jQuery, all the links are broken. which does not involve changing all the links to absolute values?
View 1 Replies
View Related
Jul 9, 2009
I'm opening a new window with window.open() In the new window a file is loaded with the following post data function:
function ajaxPost(url,data){
$.post(url,data,
function(data){
alert(data)
[Code]....
If I call this function form within the new window everything is fine
- If I call it from the opener window the callback function is broken
- only in safari - ff works fine.
View 1 Replies
View Related
Aug 28, 2009
I've written a small plugin to serve as a feature rotator and am having one strange problem.You can see some demos of the plugin and documentation here:
http://pbskids.org/pbskidswidgets/carousel.html.The plugin does a number of things that involve reading the width and height of DOM elements and using them to set the width and height of other elements. The problem is that sometimes in Firefox and Safari, when the page loads, the widths and heights of panels in the carousel are fracked.
Reload the page and the problem's fixed. In Safari, I can't get it to happen again on many reloads. In Firefox, though, if I reload repeatedly, I can get the problem to happen again: maybe once every seven or eight times.It looks like something's happening with page loading, but I'm at a loss to diagnose it further: is the script firing before the elements have fully loaded sometimes, and then works on subsequent tries because those elements are in the cache? Also: I've never seen this error in any of the IE versions.
View 1 Replies
View Related
Mar 18, 2010
I want to implement the jQuery GUID Helper plugin into my web app but I don't know what's the "best practice" method of incorporating it into my code.I'm basically creating a cart system from scratch (figured it was asufficientlycomplicated system to use when learning jQuery). When the visitor first adds an item to their cart is when I wanted to create the GUID for the visitor. I have a cart-handler.js script that I link to from the item view page:
<script type="text/javascript" src="/js/cart-handler.js"></script>
That script's first line is my$(document).ready(function(){ and the script handles AJAX calls to loading the data into cart record in my MySQL database, updates the cart total on the items page, and changes the button from "Add Item" to "Update Quantity".So would I need to link to the jquery.Guid.js script right from the view items file for my item view page? Or can I reference the plugin from the cart-handler.js file?
View 1 Replies
View Related
Aug 25, 2011
I am using jquery.validate.js for my validation. I need to validate some dynamic input fields. By using class now I am able to validate that. Here my problem is to validate for the file extension.
For static files I use as
file: {
required:true,
accept: "png|jpg",
},
How to write the accept validation for dynamically generated input fields. Below is my input field where the ID and name will change for every input field.
<input type="file" id="tval_1" name="tval_1" class="required accept" />
View 1 Replies
View Related
Apr 28, 2009
I found that appending XML string as XML node will fail in IE, so I wrote a small plugin to solve the problem, here is my post: http://blog.darkthread.net/blogs/darkthreadtw/archive/2009/04/29/jquery-xmlext-plugin.aspx.
View 2 Replies
View Related
Mar 8, 2011
JQuery and I have a function which adds an image to a link depending on the file type.
How to write a statement that says....if there is no file extension - leave the default styling, if not add file extension. At the moment I have dots and images..see here [url]
View 8 Replies
View Related
Oct 17, 2005
Not sure if this can be done with javascript but I would like to find a way to detect if an image is missing and replace it with a default image instead of the dreaded RED X showing up.
So - Is Javascript the way? Or should I look elesewhere?
View 15 Replies
View Related
Jul 20, 2005
I have an html file which links to word docs amongst other things; but
these files and their location may change periodically.
How can I adapt my html so that if the files do not exist, the links
are hidden i.e. how do I hide broken links?
View 1 Replies
View Related
Nov 18, 2009
I have a problem with an ajax application using jquery.Depending on the responseText I want to load another page into a containerA response created by php can look like this:redir@test.php?a=1&b=2&c=3I parse it with javascript as follows:
Code:
function parseInput(responseText){
var redir= /redir@/;
[code]....
View 4 Replies
View Related
Apr 6, 2011
l am making an jax call and the data is coming back fine inserted into the specific div correctly.However my css is broken after the AJAX call. the h1 are too big some menu items disppear.See code below
jQuery('#section').change(function()
{
jQuery('#loading')
[code]....
View 1 Replies
View Related
Jan 14, 2010
Code attached, the bb code dosen't let my code post.
View 2 Replies
View Related
Oct 10, 2011
A common javascript function that capitalizes input as user types (onkeypress) no longer works as of IE9Need a function that also works in IE 9 that doesn't not change method call or interface (as it's used in 150 places throughout application).
CALL:
[CODE]
el.onkeypress = function(el) {
return c_capitalizeInput(el);
}
[CODE]
FUNCTION:
[CODE]
// Intercepts keyboard input and capitalizes keystrokes.
// Call with onkeypress="return capitalizeInput(event);"
// Compatible with both IE and Netscape/Mozilla
function c_capitalizeInput(evt) {
evt = (evt) ? evt : ((window.event) ? window.event : "");
if (window.event) {
// IE
if ((evt.keyCode >= 97) && (evt.keyCode <= 122)) {
evt.keyCode = evt.keyCode - 32;
} return true;
} else if (evt.which) {
// Netscape and Mozilla
key = evt.which;
if ((key >= 97) && (key <= 122)) {
key = key - 32;
evt.target.value = evt.target.value + String.fromCharCode(key);
return false;
} return true;
} else {
return true;
// Can't do anything for other browsers
}
}
[CODE]
How to make this work in IE9?
View 19 Replies
View Related
Mar 19, 2010
I've been trying to show a div using jQuery's show function with the scale effect. My code works fine in Firefox. When I test it in IE7, it breaks. I narrowed it down to either the origin argument of the scale effect, or the time argument of the show function (which seems unlikely). Like this:
Works in IE7, italics added to show commented code better:
Code:
$(document).ready(function() {
$("#hover").hover(
function() {$("#content_show").show("scale",{percent: 100, direction: 'vertical'});},//, origin: ['center','center']},500);},
[Code]....
Also, not as important, but what is the syntax of the origin property? What values can I use in it?
View 2 Replies
View Related
Jun 15, 2011
I have had a report that the tabs (product description, shipping etc.) found on this page don't work:
JCDC x odm collection - UFO - Black
I have checked on quite a few browsers and it seems fine. The person who reported it appears to be using IE9 which I don't have access to.
View 1 Replies
View Related