How to remove unwanted site redirects or pop-up on Mac OS


Mac OS is vulnerable to potentially unwanted programs or Adware, browser hijackers. These types of programs or toolbars generate web traffic and collect sales leads for other dubious sites.

They may also display advertisements and sponsored links within your web browser. Such toolbars are usually bundled with certain free programs that you normally download and install. Advertising banners appear on webpages that you are visiting. When you go to a website, you are randomly redirected to another website that you do not intend to visit. Some of these symptoms are also listed below.

  1. Pop-up ads and new tabs that won’t go away
  2. Your Chrome homepage or search engine keeps changing without your permission
  3. Unwanted Chrome extensions or toolbars keep coming back
  4. Your browsing is hijacked, and redirects to unfamiliar pages or ads
    Alerts about a virus or an infected device

Solution (This worked for me)

Reset your browser settings (For me it was Google Chrome)

– On your computer, open Chrome.
– At the top right, click More More and then Settings.
– At the bottom, click Advanced.
– Chromebook (on Mac): Under “Reset Settings,” click Restore settings to their original defaults and then Reset Settings.
– Windows: Under “Reset and cleanup,” click Reset Settings and then Reset Settings.

Note: If you removed unwanted programs or reset your browser settings, you might need to turn some extensions back on. To turn extensions on, at the top right, click More More and then More Tools and then Extensions. Only turn on extensions you trust.

Other Method
– This could result in you removing the malicious app(s) from your Mac OS

Note:
1. Avoid unwanted software by only downloading files or visiting sites that you know are secure.

2. You might have unwanted software or malware installed on your computer:

How to stop TeamViewer from starting Automatically

Here, this is a bit different from stopping programs in MacOS from running automatically as shown here. https://techdirectarchive.com/2019/01/15/how-to-stop-a-program-from-starting-up-automatically-on-macos/

Here i am running TeamViewer 14.1.3399 as at the time of this writing. Here is the steps to disable TeamViewer from running automatically upon System startup or restart.

Launch TeamViewer
Under Unattended Access
Uncheck 'Start TeamViewer with System'

Next, a pop up windows appears, where you are asked to disable start with system. After this step is performed, TeamViewer will restart itself.

How to stop a program from starting up automatically on MacOS

Here are the steps below for performing this task.

Open System Preferences and
Click on Users & Groups.
Select under current user (your name on the right).
 Choose Login items tab.
 Check startup programs you want to remove.
 Press the “–” sign below.
 That is all as shown below.

In the future, you wish to add an Item back, simply select the + button as shown below

Select the “+” and choose the app you’d like add.
Then restart your Mac to reflect the change made

How to Set Quicktime or VLC as a default player on Mac

Here, I will be setting the default player back to QuickTime.

Note: For VLC, this has to be installed previously before it can be seen here.

Open The Finder Window 
- Click on the Folder and 
- Open the video you wish to play 
- Right click on the Video 
- Select get Info as shown below.

- Under Open with, Select your desired player. 
Finally, Click on Change all-

That is all :) 

How to Perform Continuous Ping in Different Environments

For Windows: Continuous ping can be realised in the following ways. Open command Prompt and type the command ‘ping’ followed by the IP Address and followed by ‘-t’ flag

Ping -t 192.168.2.1 
ping 192.168.2.1 -t 

For Mac OSX: By default, this is continuous as shown below. Just type ping following by the IP or FQDN

Ping 192.168.2.1 or Ping google.com

Note: If this is also not continuous by default, simple run it this way for MacOSX

/sbin/ping 192.168.2.1

For Linux: This is also continuous by default. Simply type as shown below

ping 192.168.1.1 

High count rate can also be indicated for a long period of time. See example below. This example will ping  about 333 times.

ping 192.168.1.1 -c 333

If this continuous ping does not work by default, there is probably an alias for the ping command which is changing the way you invoke the ping utility.
Solution: Find where the ping command is using the command below.

which ping

Next call the ping program from the path and it should be continuous.

/bin/ping 192.168.2.1

For Juniper: This is by default as well. Simply run 

ping 192.168.2.1

For Cisco Devices: Ranging from ASA, Switches and Router, continuous ping is not possible but can be repeated as shown below

ping 192.168.2.1 repeat 333

If this repeat command does not work, simple enter the ping command and should the help function along side. 

Stopping and killing ping session is down as down below in most environments

ctrl + c

How to remove an icon from launchpad that has been deleted (Uninstalled)

Note: this app does not also appear in Finder anymore but appears on the the Launchpad.
Kindly follow these steps to have it removed.
Note: You have to be logged in as an Administrator of the device.

  • Open Launchpad.
  • Click and hold on an icon until you see all icons jiggle. In this case i will be uninstalling GoToMeeting App.
  • Click the “x” button in the upper-left of you want to delete as shown below.

Note: If you do not see an “x” button, either the app is not from the Mac App Store or you are  not logged in as an Administrator.

  • Finally click on “Delete” in the confirmation dialog box to delete the app.

Note: You can also do this from the command line, but why do you want to complicate line with this simple task 😉 

Git GUI / gitk won’t open – complain of missing Tcl / Tk Aqua libraries

If you don’t already have Tcl/Tk Aqua installed on your computer (most MacOS X installs have it), you will get this error message. To resolve it, simply go to the website for Tcl / Tk Aqua and download the latest version:

http://www.categorifiedcoder.info/tcltk/

If you have an older version of Tcl / Tk Aqua, you’ll benefit from upgrading.

More information:

http://code.google.com/p/git-osx-installer/issues/detail?id=41