Deutsch:
Habe hier im Forum oft gelesen, dass einige Leute probleme mit lolEtal haben, da sich immer wieder Browserfenster öffnen, so dass die VM/der PC unbrauchbar langsam werden... Ich selbst hatte das Problem auch also habe ich mir ein Tool geschrieben, welches dieses Problem in meinen Augen gut löst.
Jetzt sind alle Anpassungen für eine einfache Benutzung fertig und ich möchte es euch gern zur verfügung stellen:
Voreingestellt sind die Browser
Es lassen sich aber auch alle anderen Browser damit kontrollieren
Einfach in der jeweiligen VM oder auf dem jeweiligen PC ausführen und schon gehts los.
Das Tool killt einfach alle Prozesse des ausgewählten Browsers, solang es läuft werden auch neue Prozesse direkt gestoppt.
Wenn man den jeweiligen Browser wieder benötigt einfach das Tool beenden und schon geht alles wieder.
Hinweise im Programm beachten.
Das tool hab ich komplett in englisch geschrieben...
Jetzt sind alle Anpassungen für eine einfache Benutzung fertig und ich möchte es euch gern zur verfügung stellen:
Voreingestellt sind die Browser
- Internet Explorer
- Firefox
- Chrome
- Opera
- Safari
Es lassen sich aber auch alle anderen Browser damit kontrollieren
Einfach in der jeweiligen VM oder auf dem jeweiligen PC ausführen und schon gehts los.
Das Tool killt einfach alle Prozesse des ausgewählten Browsers, solang es läuft werden auch neue Prozesse direkt gestoppt.
Wenn man den jeweiligen Browser wieder benötigt einfach das Tool beenden und schon geht alles wieder.
Hinweise im Programm beachten.
Das tool hab ich komplett in englisch geschrieben...
English:
For all those who have problems with multiple webbrowsers opening and making VM or PC slow i've written a small but helpfull tool especially to make lolEtal using in VM much smoother:
Just extract it and run the exe - .Net Framework 3.5 or later must be installed.
What does this tool do?
It simply closes every new process of the selected browser right after the process starts.
PreConfigured Browsers:
But all other Browsers are supported, too.
Just run this tool, select your browser and than run lolEtal
Size: 8KB
Ram-usage: 8-10MB.
If you find errors : pm me
Have fun.
Maybe developer of loletal can add this tool to first post?
edit:*Added some exception-handling and fixed a few Bugs, now it should work *
The UI is all english.
Just extract it and run the exe - .Net Framework 3.5 or later must be installed.
What does this tool do?
It simply closes every new process of the selected browser right after the process starts.
PreConfigured Browsers:
- Internet Explorer
- Firefox
- Chrome
- Opera
- Safari
But all other Browsers are supported, too.
Just run this tool, select your browser and than run lolEtal
Size: 8KB
Ram-usage: 8-10MB.
If you find errors : pm me
Have fun.
Maybe developer of loletal can add this tool to first post?
edit:*Added some exception-handling and fixed a few Bugs, now it should work *
The UI is all english.
Code:
For all who are interested in the source:
Code:
using System;
using System.Threading;
using System.Diagnostics;
namespace killIE
{
class Program
{
static void Main()
{
Console.Clear();
int killCount = 0;
int errCount = 0;
string pName ="";
Console.WriteLine("Minimalstic-Tools by xxsmile90xx, for more Information or Support: ");
Console.WriteLine("
");
Console.WriteLine();
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("Be Carefull: All browserwindows will be killed right after choosing the browser. Open Tabs might be lost if not saved!");
Console.ForegroundColor = ConsoleColor.Gray;
Console.WriteLine();
Console.WriteLine("Select the Browser, that should be stopped.");
Console.WriteLine("But remember that u can't use the selected Browser while killIE is running!");
Console.WriteLine("1: Internet Explorer | 2: Firefox | 3: Chrome | 4: Opera | 5:Safari | 6: Others");
ConsoleKeyInfo explorerSelect = Console.ReadKey();
if (explorerSelect.Key == ConsoleKey.D1 || explorerSelect.Key == ConsoleKey.NumPad1)
{
Console.WriteLine();
Console.Write(" Internet Explorer");
Console.WriteLine();
pName = "iexplore";
}
else if (explorerSelect.Key == ConsoleKey.D2 || explorerSelect.Key == ConsoleKey.NumPad2)
{
Console.WriteLine();
Console.Write(" FireFox");
Console.WriteLine();
pName = "firefox";
}
else if (explorerSelect.Key == ConsoleKey.D3 || explorerSelect.Key == ConsoleKey.NumPad3)
{
Console.WriteLine();
Console.Write(" Chrome");
Console.WriteLine();
pName = "chrome";
}
else if (explorerSelect.Key == ConsoleKey.D4 || explorerSelect.Key == ConsoleKey.NumPad4)
{
Console.WriteLine();
Console.Write(" Opera");
Console.WriteLine();
pName = "opera";
}
else if (explorerSelect.Key == ConsoleKey.D5 || explorerSelect.Key == ConsoleKey.NumPad5)
{
Console.WriteLine();
Console.Write(" Safari");
Console.WriteLine();
pName = "safari";
}
else if (explorerSelect.Key == ConsoleKey.D6 || explorerSelect.Key == ConsoleKey.NumPad6)
{
Console.WriteLine();
Console.Write(" Other");
Console.WriteLine();
Console.WriteLine();
Console.WriteLine("Please enter the name of process, remember:");
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("All processes with this name will be killed!");
Console.WriteLine("You should not enter names of important processes like 'explorer'");
Console.WriteLine("This Programm was designed to kill webbrowsers and it is recommended");
Console.WriteLine("to use it only for this!");
Console.WriteLine("Using this tool to kill other processes might end in data-losses");
Console.WriteLine("or might damage your operating-system");
Console.WriteLine();
Console.ForegroundColor = ConsoleColor.Gray;
Console.Write("Processname: ");
pName = Console.ReadLine();
}
else
{
Console.WriteLine();
Console.WriteLine("You've pressed a wrong key");
Thread.Sleep(100);
Main();
}
#region KillProcess
Console.WriteLine();
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine("Process started");
Console.ForegroundColor = ConsoleColor.Gray;
Console.WriteLine();
while (0 < 1)
{
try
{
Process[] pArray = Process.GetProcessesByName(pName);
foreach (Process p in pArray)
{
p.Kill();
killCount++;
Console.WriteLine("Number of killed processes: " + killCount.ToString());
errCount = 0;
}
Thread.Sleep(100);
}
catch
{
errCount++;
if (errCount <= 2)
Console.WriteLine("ERROR, programm tries to go on");
else if (errCount <= 3)
{
Console.WriteLine("3 Errors in a row - restart Programm?");
Console.WriteLine("Press 'y' for restart, every other key will exit");
ConsoleKeyInfo info = Console.ReadKey();
if (info.Key == ConsoleKey.Y)
{
Main();
}
else
Thread.CurrentThread.Abort();
}
}
}
#endregion
}
}
}
*edit*
Added .NET 2.0 Version but 3.5 recommended
*edit 2*
Added Version 1.1 fpr .net 3.5 Version with some fixes
like it?
Don't post - just klick THX






