firefox

click and edit css with firefox?

I want to be able to click on a part of a webpage and see the CSS markup. What CSS rules it uses, the class and id etc and be able to edit them live. I have installed firebug and web developer plug-ins, but I don't know how to do this. Thanks. ...

onload Event in embedded SVG not calling function in attached script. Scope Issue?

Hi So I've got an XHTML page with a script - not inline > <script type="text/javascript" > src="../global/js/scripts.js"></script> and an embedded (I tried embed and object, same behavior) SVG document with a onload="CheckIfLoaded(evt)" attribute. The problem is firefox doesn't call the CheckIfLoaded() function in scripts.js. Firebu...

Why is IE8 developer tool showing wrong line no for object expected error?

I am facing a strange javascript object expected error in IE8? On IE Developer tool the error shown as Object expected products.aspx?productid=127, line 234066871 character 5 There is only around 350 lines in the rendered html source. How to find the correct source of error. Edit: There are following includes in the file. <script t...

Firefox add-on tab-specific buttons and scripts, similar to Page Actions in Google Chrome

I want to write a Firefox extension that acts exactly like the built-in RSS feed scanner (as an exercise). It should do the following: On each new page / tab load, it should scan the content of the page for RSS feeds If there are RSS feeds in the page, it should put a button in the location bar that the user can click On clicking the b...

Firefox can not layout nested tables properly?

I want to implement a collapsible menu. I plan to use table component to simulate a menu, and nest a sub table into a table cell to simulate a sub menu. Below is my code, it works as expected in IE, Chrome and Safari, but it doesn't work well in Firefox: <html> <body> <div id="menu" style="position:absolute; left:150px; top:100px; z-...

Firefox adds <br> when paste from Word in TinyMCE

I'm currently using TinyMCE 3.3 on a drupal site, with an annoying problem. Using both "paste from word"-button or "Force cleanup on paste" in Firefox cause TinyMCE to insert line-breaks in my paragraphs where the line would have ended in Word. In IE, I do not have this problem. When viewing the source code in the editor, it doesn't ...

Javascript problem when setting src for img element in FireFox - string parsing error?

I'm having problems with image's on the page. I'm using Javascript to create the elements, and in FireFox it seems the string that I'm using to set the innerHTML is not being parsed correctly. I'll see this when the server page is requested with invalid GET variables. They look like this (from the PHP script's error handler): GET[] ...

div style working in Firefox but not IE8

I am creating a banner that resizes to fit the window (I got the code of a blog post) and it works fine in Firefox, but it doesn't display at all in IE8. Please help!! <html> <body> <div style=”position:relative; width:100%; height:100%; margin:0px; padding:0px; left:0px;right:0px;z-index:1”><img src="https://na6.salesforce.com/servle...

Firefox jQuery Drag and Drop File Upload together with PHP

Hi, Hoping to get some assistance but I am after a jQuery/PHP means of allowing a user to drag and drop files and then via PHP, upload one or more files to a specific directory on a Linux box. I only have Firefox 3.6 as my base browser but can also move to FFox if need be. Cann use any HTML5 features as long as I'm using Firefox 3.6 ...

maintainscrollpositiononpostback not working with firefox

I am using VS 2008. I like the feature maintainscrollpositiononpostback. It works fine with IE 8. But it does not work consistently with Firefox. Sometimes, instead the line I click on goes to the bottom of the page. The field I am trying to refresh is with a div tag with overflow set to auto. Also I have several update panels with updat...

Communicating between 2 Firefox Add-Ons (Cross-Extension Communication)

How do I pass data and messages between 2 Firefox Add-Ons (the way Google Chrome does it, here)? ...

Does JavaScript have an equivalent to Perl's DESTROY method?

Is there any method that is called or event that is dispatched right before an Element is cleaned up by the JavaScript garbage collector? In Perl I would write: package MyObj; sub new {bless {}} sub DESTROY {print "cleaning up @_\n"} and then later: { my $obj = MyObj->new; # do something with obj } # scope ends, and ass...

spell checker: ignore CamelCaseWords

Is there a way to get the spell checker to properly check camel cased words? "ThisIsSpelledRightly" would be marked as spelled correctly, but "ThisIsNottSpeledRihgt" would be flagged? I use Xubuntu and firefox. I tried asking this over on superuser, but it got ignored. ...

Internet explorer, Safari and Chrome problems with displaying @font-face rules.

Hy guys, I've a problem with IExplorer, Chrome, Safari etc.. Only Firefox works perfectly with all of this @font-face rules: In Css: @font-face { font-family: Calibri; src: url('Calibri.ttf'); } @font-face { font-family: HAND; src: url('http://www.mydomain.org/css/HAND.eot'); src: url("HAND.ttf"); } #side_text { position:relati...

Javascript: How to calculate the exact position of the viewport?

My problem is I need to get the position of the viewport relative to the extent of the entire document. I am only concerned with Firefox. My issue is that everything I have read says that: viewport height is window.innerHeight scroll position is window.pageYOffset document total height is document.height So, I would expect that if ...

Is it easy to develop a simple Firefox plugin (JS injection)

Hello everyone! So I was just wondering if it was easy to develop a very simple Firefox plugin where you could click a button, and it would execute some Javascript code! Please note that I have never developed any kind of plugin for firefox, I just want to know if that is an easy task to do (like less than an hour) I would also like to...

Where do Firefox and Chrome (etc.) get their Geolocation data from?

Recently, I've begun to see the geolocation API at work in my browsers. The crazy thing is, they're the most accurate Geolocation I've ever had. I live in va and most other geolocation services make it look like i live in new jersey or chicago. So whre do these browsers get this data? ...

webgl running in a virtual machine on old hardware

Hi to all, I have a problem: I'm running a kubuntu10.04 in a virtualbox appliance. I've installed on it all the updates and the virtualbox guest additions. The host os is a windows xp: it runs on a thinkpad t60 with a very old ati x1300 graphic card. With the right windows driver this graphic card let me use opengl acceleration. On vm, ...

Webkit browsers rendering CSS different than Mozilla Firefox...Why??

I'm styling a form that was already marked up (made some markup changes), and I normally work in Firefox to style so I can use firebug and the web developer toolbar. On this project, I noticed that my styles are displaying quite differently for one particular area (several elements) in webkit based browsers Chrome and Safari, than in Fi...

ASP.NET required field validator firing on focus in firefox

I have 2 asp.net textboxes in an update panel. Both textbox controls have some javascript attached to autotab to the next field and to allow only numeric input. When I enter some data into the first field and press enter, focus shifts to the next field and the requiredfieldvalidator of the second field displays its "* required" error mes...