How do I change the website that opens when i choose to open a new tab?
yahoo always opens when i open up a new tab. i would love for nothing to open or google or anything else. how do i change this?
you can use this extension
* https://addons.mozilla.org/en-us/firefox/addon/new-tab-homepage/
Similar Messages
-
Whenever I open a new tab, the new tab opens to a yahoo search page. It used to open to just a blank tab and changed somehow. I've been unsuccessful at changing it back.
Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]]
* [[Troubleshooting plugins]]
If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
* Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
* Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") -
How can I change the homepage that displays when I open Firefox?
I just had to reinstall a program that had become corrupted, and somehow the process changed my Firefox homepage. Not only is the new one not what I want, when I try to open Firefox I get a notification from WOT that the new page is unsafe.
I do one open Firefox window. I would like to use it to change my default homepage back to the one I had, but I can't find how to do that.https://support.mozilla.org/en-US/kb/How%20to%20set%20the%20home%20page
-
This is the method:
public static Bitmap[] get_images_with_clouds(Bitmap radar_image)
int e = 0;
int f = 0;
int image_clock_area_x = 0;
int image_clock_area_y = 0;
int image_clock_area_x1 = 140;
int image_clock_area_y1 = 21;
Bitmap[] localImages;
localImages = new Bitmap[15];
Bitmap image;
image = new Bitmap(Properties.Resources.radar_without_clouds);
BitmapData bmD = null;
BitmapData bmD2 = null;
try
bmD = image.LockBits(new Rectangle(0, 0, image.Width, image.Height), ImageLockMode.ReadWrite, PixelFormat.Format32bppArgb);
bmD2 = radar_image.LockBits(new Rectangle(0, 0, radar_image.Width, radar_image.Height), ImageLockMode.ReadOnly, PixelFormat.Format32bppArgb);
IntPtr sc0 = bmD.Scan0;
unsafe
int* p = (int*)sc0.ToPointer();
int* p2 = (int*)bmD2.Scan0.ToPointer();
for (e = image_clock_area_x; e < image_clock_area_x + image_clock_area_x1; e++)
for (f = image_clock_area_y; f < image_clock_area_y + image_clock_area_y1; f++)
Color clock_color = Color.FromArgb(p2[e + f * bmD2.Width]);
p[e + f * bmD.Width] = clock_color.ToArgb();
image.UnlockBits(bmD);
radar_image.UnlockBits(bmD2);
catch
try
image.UnlockBits(bmD);
catch
try
radar_image.UnlockBits(bmD2);
catch
int c;
for (c = 0; c < localImages.Length; c++)
localImages[c] = new Bitmap(image);
Bitmap new_image = new Bitmap(Properties.Resources.radar_without_clouds);
Bitmap new_image1 = new Bitmap(Properties.Resources.radar_without_clouds);
Bitmap localbmptest = black_and_white(new_image, radar_image);
Image image1 = black_and_white(new_image, radar_image);
image1.Save(@"c:\temp\testclouds666.jpg");
Bitmap clouds = new Bitmap(image1);
int x;
int y;
int a;
int b;
int d = 0;
Bitmap redImage;
redImage = new Bitmap(512, 512);
using (Graphics g = Graphics.FromImage(redImage))
g.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.NearestNeighbor;
g.PixelOffsetMode = System.Drawing.Drawing2D.PixelOffsetMode.Half;
g.Clear(Color.Red);
BitmapData bmData = null;
BitmapData bmData2 = null;
BitmapData bmDataArray = null;
try
bmData = clouds.LockBits(new Rectangle(0, 0, clouds.Width, clouds.Height), ImageLockMode.ReadOnly, PixelFormat.Format32bppArgb);
bmData2 = radar_image.LockBits(new Rectangle(0, 0, radar_image.Width, radar_image.Height), ImageLockMode.ReadOnly, PixelFormat.Format32bppArgb);
IntPtr scan0 = bmData.Scan0;
IntPtr scan02 = bmData2.Scan0;
unsafe
int* p = (int*)scan0.ToPointer();
int* p2 = (int*)scan02.ToPointer();
double h, mm;
for (d = 0; d < localImages.Length; d++)
bmDataArray = localImages[d].LockBits(new Rectangle(0, 0, localImages[d].Width, localImages[d].Height), ImageLockMode.ReadWrite, PixelFormat.Format32bppArgb);
IntPtr scan0Array = bmDataArray.Scan0;
int* pArray = (int*)scan0Array.ToPointer();
for (a = 0; a < new_image.Width; a++)
for (b = 0; b < new_image.Height; b++)
Color color1 = Color.FromArgb(p[a + b * bmData.Width]);
Color color2 = Color.FromArgb(p2[a + b * bmData2.Width]);
if (color1.R != 0 || color1.G != 0 || color1.B != 0)
h = color2.GetHue();
mm = RadarAnalysis.Hue2MMPerHour(h);
if (mm >= treshhold_array[14 - d])
pArray[a + b * bmDataArray.Width] = color2.ToArgb();
localImages[d].UnlockBits(bmDataArray);
clouds.UnlockBits(bmData);
radar_image.UnlockBits(bmData2);
catch (Exception error)
try
clouds.UnlockBits(bmData);
catch
try
radar_image.UnlockBits(bmData2);
catch
try
localImages[d].UnlockBits(bmDataArray);
catch
Logger.Write("Error Exception ==> " + error);
MessageBox.Show("Error Exception ==> " + error);
return localImages;
In the end i'm getting 15 Bitmaps in localImages.
localImages is Bitmap[]
The method get a Bitmap and the Bitmap pixel format is: Format8bppIndexed
I want that in the end the 15 Bitmaps in localImages will be also pixel format of Format8bppIndexed.
The problem is that if i change everywhere in the method from: PixelFormat.Format32bppArgb to PixelFormat.Format8bppIndexed
I'm getting exception on the line:
pArray[a + b * bmDataArray.Width] = color2.ToArgb();
Attempted to read or write protected memory. This is often an indication that other memory is corrupt
System.AccessViolationException was unhandled
HResult=-2147467261
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=My Weather Station
StackTrace:
at mws.ImagesComparison.get_images_with_clouds(Bitmap radar_image) in d:\C-Sharp\Download File\Downloading-File-Project-Version-012\Downloading File\ImagesComparison.cs:line 469
at mws.ScanningClouds.backgroundWorker1_DoWork(Object sender, DoWorkEventArgs e) in d:\C-Sharp\Download File\Downloading-File-Project-Version-012\Downloading File\ScanningClouds.cs:line 695
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
InnerException:
Line 469 is: pArray[a + b * bmDataArray.Width] = color2.ToArgb();Thorsten Hi,
Too complicated for me i will try to look on it.
Also if you will have time later maybe you could look at it too ?
For now what i tried was to get the returned 15 new Bitmaps to a local array:
bitmaps = ImagesComparison.get_images_with_clouds(b1);
for (int i = 0; i < bitmaps.Length; i++)
ConvertTo1or8Bit.ColorToGrayscale(bitmaps[i]);
break;
Then make a convertion with a new class trying to convert the Bitmaps to 8 bit in the memory without saving them first to the hard disk. This is the new class:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing.Imaging;
using System.Drawing;
using System.IO;
namespace mws
class ConvertTo1or8Bit
public ConvertTo1or8Bit()
public static Bitmap ColorToGrayscale(Bitmap bmp)
int w = bmp.Width,
h = bmp.Height,
r, ic, oc, bmpStride, outputStride, bytesPerPixel;
PixelFormat pfIn = bmp.PixelFormat;
ColorPalette palette;
Bitmap output;
BitmapData bmpData, outputData;
//Create the new bitmap
output = new Bitmap(w, h, PixelFormat.Format8bppIndexed);
//Build a grayscale color Palette
palette = output.Palette;
for (int i = 0; i < 256; i++)
Color tmp = Color.FromArgb(255, i, i, i);
palette.Entries[i] = Color.FromArgb(255, i, i, i);
output.Palette = palette;
//No need to convert formats if already in 8 bit
if (pfIn == PixelFormat.Format8bppIndexed)
output = (Bitmap)bmp.Clone();
//Make sure the palette is a grayscale palette and not some other
//8-bit indexed palette
output.Palette = palette;
return output;
//Get the number of bytes per pixel
switch (pfIn)
case PixelFormat.Format24bppRgb: bytesPerPixel = 3; break;
case PixelFormat.Format32bppArgb: bytesPerPixel = 4; break;
case PixelFormat.Format32bppRgb: bytesPerPixel = 4; break;
default: throw new InvalidOperationException("Image format not supported");
//Lock the images
bmpData = bmp.LockBits(new Rectangle(0, 0, w, h), ImageLockMode.ReadOnly,
pfIn);
outputData = output.LockBits(new Rectangle(0, 0, w, h), ImageLockMode.WriteOnly,
PixelFormat.Format8bppIndexed);
bmpStride = bmpData.Stride;
outputStride = outputData.Stride;
//Traverse each pixel of the image
unsafe
byte* bmpPtr = (byte*)bmpData.Scan0.ToPointer(),
outputPtr = (byte*)outputData.Scan0.ToPointer();
if (bytesPerPixel == 3)
//Convert the pixel to it's luminance using the formula:
// L = .299*R + .587*G + .114*B
//Note that ic is the input column and oc is the output column
for (r = 0; r < h; r++)
for (ic = oc = 0; oc < w; ic += 3, ++oc)
outputPtr[r * outputStride + oc] = (byte)(int)
(0.299f * bmpPtr[r * bmpStride + ic] +
0.587f * bmpPtr[r * bmpStride + ic + 1] +
0.114f * bmpPtr[r * bmpStride + ic + 2]);
else //bytesPerPixel == 4
//Convert the pixel to it's luminance using the formula:
// L = alpha * (.299*R + .587*G + .114*B)
//Note that ic is the input column and oc is the output column
for (r = 0; r < h; r++)
for (ic = oc = 0; oc < w; ic += 4, ++oc)
outputPtr[r * outputStride + oc] = (byte)(int)
((bmpPtr[r * bmpStride + ic] / 255.0f) *
(0.299f * bmpPtr[r * bmpStride + ic + 1] +
0.587f * bmpPtr[r * bmpStride + ic + 2] +
0.114f * bmpPtr[r * bmpStride + ic + 3]));
//Unlock the images
bmp.UnlockBits(bmpData);
output.UnlockBits(outputData);
return output;
But they are still 32 bit. So i guess i didn't realy understand yet how to do it. -
When I open a new website, the page does not open, instead it places a tab in the bottom task bar? How can I change the settings so as when I open a new website the page is automatically displayed on my desktop. Thank You!
Tools > Options > Tabs - is the last preference there check-marked??
-
How do I change the way that my company name appears when googled?
How do I change the way that my company name appears when it is googled? Currently it only shows up as part of my company name followed by the website listed below and then the start of a description. I would like to make it so my entire company name show up as the title when searched. I used iWeb to create the site. Please Help! Thanks:)
Put the whole company name in the title tag...
http://www.iwebformusicians.com/Search-Engine-Optimization/Tags.html -
How do I change the default text for when I open up pages?
How do I change the default text for when I open up pages?
Colin,
You may substitute any text you like for the "Placeholder Text", as it is called, in Pages. Click on the existing placeholder text and type something more to your liking. Do this in as many places as your particular template of interest demands. Then, Format > Advanced > Define as Placeholder Text. Lastly, File > Save as Template.
Now that you have defined a Custom Template to your liking, you can go to Pages Preferences and under the General tab's first section, define the new custom template as your default for each new document.
Regards,
Jerry -
How do you change the drive that my Iphone backs-up to on my computer? My first attempt to back-up and i received a pop-up stating that I do not have sufficient memory/space, knowing that I have over 120GB of free space...any ideas? thanks
dave0915,
iTunes stores your iPhone backups in the Library folder in your Home folder.
iTunes places the backup files in these places:
Mac: ~/Library/Application Support/MobileSync/Backup/
Create and delete iPhone, iPad, and iPod touch backups in iTunes
http://support.apple.com/en-us/HT4946
Regards,
Allen -
I changed the password used to access my gmail account. Thunderbird is still using the old password to access the account. How do I change the password that Thunderbird is using. The last time this happened I ended up creating a new Thunderbird account for gmail. Creating the new Thunderbird account at least let me enter the new password. I really don't want to have three Thunderbird accounts for the same gmail account.
Please do not respond with suggestions about using Password Manager. I do not use it and do not intend to start. I looked and none of my Thunderbird passwords are displayed there. All I want to do is change the password in Thunderbird. If Thunderbird does not have a feature allowing you to change it's passwords, one should be added.This is the only way.
http://kb.mozillazine.org/Setting_and_changing_email_passwords -
HT5622 How do I change the picture that other iphone users see?
How do I change the picture that other iphone users see?
Thanks for your help! Is it chilly for a kilt there?
-
How do I change the auto ID prompt when the window pops up for my password when I try to install App updates? I've changed my ID but the old ID is embedded in the password prompt and I can't work out where to change it. So I'm unable to install any of my App updates.
Did you go to Settings>Store>Apple ID? Tap the old ID and sign out. Sign in with your new ID. If you changed the name associated with the ID this should work If you created an entirely new ID, you have to use the old ID and password to update the apps since they will always be tied to that ID and password,
-
How do I change the fact that my iMessage now lists my email address to reply to instead of phone number or name?
Wrong number in iMessage
simple fix
go to settings- messages - send and receive- select the numbers and emails you want to use - deselect the ones you don't need
Peace, Clyde
if you cant check or uncheck these do this turn imessage off then
reset all settings
settings-general-reset-reset all settings
now reconnect to wifi
settings- wifi- click network name- enter password - join
if issue persists back up and restore as new via iTunes
Peace, Clyde -
How do I change the email that my security info is sent to
How do I change the email that my security info is sent to
Hi Hayleyallenxox,
Thanks for using Apple Support Communities. This article has instructions for changing your rescue email:
Rescue email address and how to reset Apple ID security questions
http://support.apple.com/kb/HT5312
Cheers,
- Ari -
How do i change the email that my info is sent to if iforget it?
how do i change the email that my info is sent to if i forget it?
If you know the answers to your security questions, then from http://support.apple.com/kb/HT5312 :
Navigate to appleid.apple.com using your web browser.
Click "Manage your account"
When prompted, sign in using your Apple ID and password.
Click Password & Security
You'll be asked to answer 2 of your 3 security questions before you can make any modifications. If you are unable to remember your answers, you can choose to send an email to your rescue email to reset your security questions.
After you've validated your identity by correctly answering your security questions, click Edit to the right of your rescue email address.
Once you've finished editing your rescue email address, click the Save button directly below the email field.
If you can't remember your answers and you don't have access to your current rescue email address then you will need to contact iTunes Support / Apple to get the questions reset.
Contacting Apple about account security : http://support.apple.com/kb/HT5699 -
How do i change the pc that my iphone syncs to?
how do i change the pc that my iphone syncs to for Itunes?
https://discussions.apple.com/docs/DOC-3141
Maybe you are looking for
-
can I share my itunes library between my laptop at home and my computer at work using homeshare?
-
OK, what is it about G4 towers suddenly w/o power?
I got my dual Gigabit Ethernet G4 tower from work when they got rid of Macs about 4 years ago (keep hoping they'll change their minds). When I first got it I had the typical no power problem and a new battery solved the problem (but I had to order it
-
How do i create a table using Gifs?
Do I want to use Gifs? They do look better.... I used a Template to get started, to change my template I lose all my data... http://www.dancehamptonroads.com I figured out a simple table, so I can change random items on my web page without using a te
-
How to use IKEA KITCHEN PLANNER PN MY NEW IMAC. HELP !!
version 10.9.4 processer 2.7 GHz intel Core i5 memory 8 gb 1600MHz DDR3
-
Request GX630 bios unlock overclock menu with fn and ctrl key swap.
anyone out there know how to unlock the bios for GX630 so you can manual config the overclock ? thanks