Posts Under mozilla Category
Stop mouse click in browsers
There have been multiple ways to stop your user/s from right clicking on your site, but many of them now fail due to the way firefox’s contextual menu loads. Below is an example of how to do it: function _c(e) {if (document.all) {if (event.button==2||event.button==3) {return false;}} else {if (e.button==2||e.button==3) {e.preventDefault();e.stopPropagation();return false;}}if (e.which) {}}if (document.all){document.onmousedown=_c;}else{document.onclick=_c;document.ondblclick=_c;}</span> ..and here is the full working example in a webpage: <html> <head> <script> function _c(e) {if…
Firefox error in FeedProcessor.js
[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIChannel.contentType]” nsresult: “0×80040111 (NS_ERROR_NOT_AVAILABLE)” location: “JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/FeedProcessor.js :: FP_onStartRequest :: line 1440″ data: no] file:///C:/Program%20Files/Mozilla%20Firefox/components/FeedProcessor.js Line 1440 So what the heck does that all mean? Basically, there is an exception error on like 1440 of the local Firefox javascript file “FeedProcessor.js”. The line in question is as follows: channel.contentType = “application/vnd.mozilla.maybe.feed”; The whole section of code reads as follows: // nsIStreamListener…
I hate desktop email clients
I used to use Mozilla Thunderbird to handle my pop emails accounts and then I started experiencing performance problems when doing almost anything. My email inbox contains a good few thousand items at any given time. I decided to change to Microsoft Outlook 2007 as I had used a previous version in the past and it seemed to lag a hell of a lot less. After installing it I had…
Force Download in PHP
This script works in all browsers, including Internet Explorer! if (strstr($_SERVER[‘HTTP_USER_AGENT’],"MSIE")) { header("Pragma: public"); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header("Cache-Control: private",false); header("Content-Type: application-download"); header("Content-Disposition: attachment; filename=\"".basename($filename)."\";"); header("Content-Transfer-Encoding: binary"); header("Content-Length: ".@filesize($ab_file)); set_time_limit(0); } else { header("Content-type: application-download"); header("Content-Length: ".filesize($ab_file)); header("Content-Disposition attachment; filename=".$filename); } readfile($ab_file);
Reported Attack Site!
What the heck is that? So you’ve just visited a website using Mozilla Firefox and this message has popped up telling you that the site looks suspicious. Usually the site has been marked as a possible virus containing website and Firefox will show you this message attempting to protect itself against Malware, Spyware or other forms of Viruses. There are occasions when this is mearly a warning and not to…
Transparent swf in html
So you have now placed a swf file into your html page and you want to be able to see through it. Lucky for you, this is a very easy thing to do! The following code does the trick: <object type=‘application/x-shockwave-flash’ data=‘flash/home_side_left.swf’ width=’40px’ height=’550px’> <param name=‘movie’ value=‘flash/home_side_left.swf’ /> <param name=‘bgcolor’ value=‘#ffffff’> <param name=‘wmode’ value=‘transparent’> <param name=‘allowScriptAccess’ value=‘always’> </object> Notice that by just adding the ‘wmode’…
Apache Cannot be Run. Another web server is using the web port or port is blocked by firewall.
Tried to start EasyPHP: “Apache Cannot be Run. Another web server is using the web port or port is blocked by firewall.” I was running Skype! And it was blocking the using the port. Check in options->advanced->connection for the setting on port 80. Another way to stop this from happening and solve the problem quicker is to go into the “Configuration->EasyPHP” [Ctrl+E] and make sure that the “Check server’s TCP…
TypeError: node is null message=node is null
The following error message occurs in Firefox 3 when using Firebug. TypeError: node is null message=node is null The error can be tracked back to script tags being in the head of the document instead of where they’re needed, an example would be with the ShareThis control/component that is often added to blogs and etc.
Cant start your browser?
Cant start your browser? Try checking if any torrent apps are running.. Close them and retry.
What is Eb in firebug?
Gmail produces the following error/warning in firebug. Eb is not defined function Bb(a){if(a[sb]&&a[sb](daa)){var…ents)};f.x2b=c;f.B2b=b;f.y2b=a;return f} I initially started seeing this while while on clients’ websites, but can now say it’s a gmail thing. So don’t stress..
Firefox too slow?
Is your Firefox starting to get realllllllly slow? Every few months my Firefox starts dragging, so all I do is create a new profile and reimport all my bookmarks and reinstall needed addons. For a rundown on how to create a new profile, click the following link.. http://kb.mozillazine.org/Profile_Manager