Clicking a website link in Safari, produces a page of code

If I'm in a website and I want to download something I click the download button and instead of the download starting I get a full page of coding.
For instance if i go to Adobe and try to download flashplayer by clicking the link I get a page of code, but if I right click and use the workaround below it works and downloads what I need
I can usually work around it by right clicking and selecting "Download Linked File As" but its clunky and doesn't always work.  Obviously there's a setting screwed up somewhere but where??

Ok...
Open a Finder window. From the Finder menu bar click Go > Go to Folder
Type or copy paste the following:
~/Library/Caches/com.apple.Safari/Cache.db
Click Go then move the Cache.db file to the Trash.
Quit and relaunch Safari to test.
if that didn't help...
For Safari preferences (.plist)
Open a Finder window. From the Finder menu bar click Go > Go to Folder
Type or copy paste the following:
~/Library/Preferences/com.apple.Safari.plist
Click Go 
then move the com.apple.Safari.plist file to the trash.
If that didn't help, try troubleshooting Safari extensions.
From your Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that off if there are any installed. Quit and relaunch Safari to test. If that helped, turn extensions back on then uninstall one a time to test.
message edited by:  cs

Similar Messages

  • Every time I click on a link in safari, an ad page pops up

    Hello,
    I have a MacBook Air (13-inch, Mid 2013) and I am using MacOsX Yosemite edition. A few hours ago something's happened to my safari and almost every time I click on a link, an ad opens up in a tab. When I search something from the address bar, it uses a search engine called http://thesmartsearch.net/ in stead ıf gooogle. Although, I set it back to google from preferences, it automatically goes back to this smartsearch engine.  Also, streaming has slowed down, it feels like something is continuously running at the background and my fans are non-stop working right now. I'm scared if I have a virus or something. Could you help me solving this problem? Many thanks,
    Sinem

    There is no need to download anything to solve this problem. You may have installed a variant of the "VSearch" ad-injection malware. Follow Apple Support's instructions to remove it.
    If you have trouble following those instructions, see below.
    Malware is always changing to get around the defenses against it. This procedure works as of now, as far as I know. It may not work in the future. Anyone finding this comment a few days or more after it was posted should look for a more recent discussion, or start a new one.
    The VSearch malware tries to hide itself by varying the names of the files it installs. To remove it, you must first identify the naming pattern.
    Triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination  command-C:
    /Library/LaunchDaemons
    In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    A folder named "LaunchDaemons" may open. Look inside it for two files with names of the form
              com.something.daemon.plist
    and
               com.something.helper.plist
    Here something is a variable string of characters, which can be different in each case. So far it has always been a string of letters without punctuation, such as "cloud," "dot," "highway," "submarine," or "trusteddownloads." Sometimes it's a meaningless string such as "e8dec5ae7fc75c28" rather than a word. Sometimes the string is "apple," and then you must be especially careful not to delete the wrong files, because many built-in OS X files have similar names.
    If you find these files, leave the LaunchDaemons folder open, and open the following folder in the same way:
    /Library/LaunchAgents
    In this folder, there may be a file named
              com.something.agent.plist
    where the string something is the same as before.
    If you feel confident that you've identified the above files, back up all data, then drag just those three files—nothing else—to the Trash. You may be prompted for your administrator login password. Close the Finder windows and restart the computer.
    Don't delete the "LaunchAgents" or "LaunchDaemons" folder or anything else inside either one.
    The malware is now permanently inactivated, as long as you never reinstall it. You can stop here if you like, or you can remove two remaining components for the sake of completeness.
    Open this folder:
    /Library/Application Support
    If it has a subfolder named just
               something
    where something is the same string you saw before, drag that subfolder to the Trash and close the window.
    Don't delete the "Application Support" folder or anything else inside it.
    Finally, in this folder:
    /System/Library/Frameworks
    there may an item named exactly
                v.framework
    It's actually a folder, though it has a different icon than usual. This item always has the above name; it doesn't vary. Drag it to the Trash and close the window.
    Don't delete the "Frameworks" folder or anything else inside it.
    If you didn't find the files or you're not sure about the identification, post what you found.
    If in doubt, or if you have no backups, change nothing at all.
    The trouble may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Then, still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

  • Each time I click on a link in safari a new page opens.  How do I stop this?

    How do I stop a new page from opening each time I click on a link?

    If the page contains the link you clicked on, choose Preferences from the Safari menu, click on Tabs, and change the settings as desired.
    If the page contains an ad, click here and run the tool.
    (112477)

  • Clicking on a link to open a new page or tab gives me a blank page.

    If I click on a link to open a new page or a new tab, the page that opens is always blank and no address is in the address bar. Also, occasionally, my refresh button is "grayed" out so I can't hit that either. I think this is some sort of security setting blocking it. Can anyone help.

    Thanks Jason, I had the same problem and did exactly the steps above. Problem solved! You rock! :)

  • When i click on a link, i get a blank page saying "enter web address

    when i click on a link, i get a blank page which says
    "enter web address"

    Is this any link in any page, or one particular link in a particular page?

  • Clicking on document link opens Safari, but Safari doesn't open link

    For some time -- even before upgrading to OS10.8 -- I've been having an issue with Safari. I receive links in emails or other documents, click on them, and when Safari opens, it fails to load the link. Sometimes I see the URL appear in the address bar for a moment, but it vanishes and I am left with a blank "Untitled" Safari page. If I then click on the email (or other) reference link again -- now with Safari open -- everything works fine. I've not seen this reported as a problem by anyone else so am wondering if I have a software conflict. There are two programs running from within Safari, one is 1Password (although that requires a manually entered password to open) and the other is Norton Identity. Perhaps one of those is a culprit. Anyone else seen this behavior?

    More than likley, Norton is the culprit. Norton software has caused so many Mac users problems over a long period of time.
    Results from an Apple Support Communities search for Norton > Community Search: Apple Support Communities
    Follow the instructions at the Symantec/Norton site for uninstalling Norton Identity.
    As for one 1Password. Using the pre installed Apple native Keychain Access utility is much better to use than third party. Keychain Access is located in HD > Applications > Utilities.
    Remove Norton Identidy first, restart your Mac and try opening a link from email to test.

  • When when i click a specific link in safari on my macbook pro, another link opens. how do i fix this.

    When I click on a specific link in Safari on my Macbook Pro, another link opens. How do i fix this?

    Likely malware/adware.
    First try
    Remove unwanted adware that displays pop-up ads and graphics on your Mac
    Next:
    Adwaremedic: Removes all known adware from your Mac
    If you can't download it since the malware is preventing it then see:
    https://discussions.apple.com/docs/DOC-7792

  • For some reason, when ever I click on a link to go to another page in an existing page like facebook or YouTube, I'm taken back to my main startup home page

    I cant navigate inside firefox.... this page here has been the only place that my mouse will take me to any new page... when I try to go to different links inside any of my normal sites, like facebook or youtube, if I click on any link inside them I am taken back to my main home page.... I also can not single click open any of the icons next to the firefox name at the top left of my screen, history, bookmarks, tools, none of those work unless I hold my mouse button down and then scroll down to what I need... I have cleaned my mouse, and it works fine on my husbands comp, and works fine offline on mine... it is only in firefox that I seem to be having a problem... what can I do?

    If it works in Safe Mode and in normal mode with all extensions (Firefox/Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: Firefox > Quit Firefox; Linux: Firefox/File > Quit)
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • I click on a link, get a new blank page, not the info expected. Use AVG Free Ed, Windows 7 professional.

    I click on a link, and get a new blank page, not the info expected. I use AVG Free Edition, Windows 7 Professional. I have tried "open link in new tab" - no joy. Not all links are affected. It is not possible to say when a link is going to fail or work - it seems random.
    == This happened ==
    Every time Firefox opened
    == It just started to happen about 2 weeks ago

    I get the address as it should be as in attachment when I hover over the "FLIXTER" add on the right of screen. When I click it just comes out in a new window but BLANK. Open in IE then shows me the correct view. Puzzling. I have tried disapbling ans enabling java script in my options and sometimes this works then sometimes not??

  • How do i stop ads coming up every time i click on website links?

    Everytime im in Safari some particular works are hyperlinked to ads, or ads come up on whatever website I'm on.
    It also happens when i click a link on any website. Just wondering if its something i can fix myself or need to take my Macbook to someone
    Thank You

    Please review the options below to determine which method is best to remove the Adware installed on your computer.
    The Easy, safe, effective method:
    http://www.adwaremedic.com/index.php
    If you are comfortable doing manual file removals use the somewhat more difficult method:
    http://support.apple.com/en-us/HT203987
    Also read the articles below to be more prepared for the next time there is an issue on your computer.
    https://discussions.apple.com/docs/DOC-7471
    https://discussions.apple.com/docs/DOC-8071
    http://www.thesafemac.com/tech-support-scam-pop-ups/

  • Clicking on External Link in Safari Opens New Tab

    I think it has to do with one of the preferences I've set within Safari but I just can't put a finger on which one.
    Basically, I reinstalled Yosemite 10.10.3 on my MacBook Pro 13" (Late 2013) about a week ago. And then I tinkered with Safari preferences.
    Since then, whenever I click on an external link, for example, an email address, Safari opens a New Tab instead of launching my Mail app.
    Not sure how to do undo this.

    From the Mail menu bar, select
              Mail ▹ Preferences... ▹ General ▹ Default email reader: Mail
    If you don't use Mail, you may be able to set the preference in the mail client you do use.

  • "This website cannot be trusted" that is crazy. I was going through the Firefox "getting started" and click on a link to "Set your home page" and it seems to be telling me that I can not trust firefox. LOL. It is asking me to make an exception.

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/919957]]</blockquote>
    So I tried to go to my iGoogle page and it did the same thing. I am certain there is a button to fix this but i swear i do not know where it is?
    The support article also took me to "untrusted information"

    Sounds like you have a link hijacker installed which McAfee doesn't find for some strange reason. What I suggest you do is to go to [http://www.malwarebytes.org/ Malwarebytes] and download the free version of the program. Then after you install it, update it via the link (tab) you'll see at the top and finally run a complete system scan.
    It's possible McAfee didn't ask you to disable Windows System Restore. That Microsoft utility which is part of the operating system makes backups of all executables including malware unfortunately.
    To be sure, I'd advise you to disable it temporarily by right clicking My Computer, then go to Properties and click the System Restore tab. Then place a checkmark in the box which says "Disable System Restore on all drives" and then click Apply/OK. This will delete all your Restore points, but it's the only way to remove malware which Windows is inadvertently making backups of.
    It would be advisable to do that before you run a scan.
    Once the Malwarebytes scan terminates and has quarantined anything it finds, you can re-enable System Restore again by removing the checkmark.
    Sorry it took so long to respond to your question by the way.

  • 3Q's-(1)Right Click to Open Link in Safari shows tab under window. Yesterday it was open in tab first choice, then window. What caused the flip?

    1. as stated in initial question.
    2. what causes Safari to ask my Apple ID and/or password 2 or more times in a row.
    3. preferences set to not remember search information and to not autofill information, so why does Safari autofill browser history?

    Hi,
    3rd party extensions are often a source of problems, so try removing the extensions you currently have installed (highlighted below):
    0x291000 - 0x291ffd +com.yazsoft.SDEnhancer ??? (1.0) <a571737d639a52de7729e512a4a30cdf> /Library/InputManagers/SpeedDownload Enhancer/SpeedDownloadEnhancer.bundle/Contents/MacOS/SpeedDownloadEnhancer
    0x2d4000 - 0x2d4ffd +net.bti.ConciergeLoader ??? (1.0.2) <3824608b5cd9864fad7e8c0381c1166f> /Library/InputManagers/ConciergeLoader/ConciergeLoader.bundle/Contents/MacOS/ConciergeLoader
    0x612000 - 0x640fff +net.bti.Concierge ??? (1.4.11) /Library/Application Support/Concierge/Concierge.bundle/Contents/MacOS/Concierge

  • When I click on a link on my email the page does not appear in the forefront in safari.... it gets "hidden" behind whatever page safari is displaying

    I recently started having this problem after downloading Lion and some updates after that. Not sure what to do to fix it or if its not fixable on my end. Is anyone else having this problem?
    Thanks
    Paul

    Yes its the same and I already tried that, Thank you. the crazy thing is that the link opens up a window but i can't even select anything on it or make it active, its hidden and if I swipe to the next desktop I can see it. But i need to already have the mouse pointer over the close button or i would not even be able to close it. Very strange. ANYONE?
    Paul

  • I am sick of yahoo pages appearing when i even click a web link to get to another page on that site. this is rubbish. i am going to ditch you firefox .

    how can i stop these stupid yahoo pages interrupting my browsing i am in NZ and fed up with this.

    On Mac, the most common reason to get this is Spigot or Conduit add-ons. You can check for those on the Add-ons page, either:
    * Command+Shift+a
    * "3-bar" menu button (or Tools menu) > Add-ons
    In the left column, click '''Extensions'''. Then, if in doubt, disable (or Remove, if possible) unrecognized and unwanted extensions.
    Often a link will appear above at least one disabled extension to restart Firefox. You can complete your work on the tab and click one of the links as the last step.
    Any improvement?
    Note that such add-ons may have been part of a bundle with something else and may be re-injected into Firefox if the bundle installer is not removed from your system.

Maybe you are looking for

  • No video with mini dvi - vga adapter (2007 Macbook)

    Connecting an external TFT display (Nokia 500 Xa) to my MacBook's mini dvi port with a mini dvi to vga adapter, there's no video. Any ideas about what might cause this? the monitor is a bit old, but VGA should still be the same, eh? I thought maybe i

  • Time Capsule appears twice in Airport drop down menu

    Menu Bar > Airport drop-down menu: My Time Capsule's wireless name shows up twice in my list of wifi sources. Once in the group with all the other routers and again in a group called "Devices". Long story short- I start with a perfectly functional, W

  • File in use by Finder

    I recently discovered that overwriting files selected in Finder with the little preview expanded is not possible because finder keeps the file in use. When preview is collapsed the problem does not occur. This happens i.e. when exporting a pdf in Ind

  • Showing column shop_from in quick sales order

    Dear all, I am trying to show one field name(ship_from) Warehous , when i go to show field it is not showing that field during creation of new folder, however this field is already shows for other saved folder , I have to show on quick sales order fo

  • HOW TO GET MORE SPACE ON MY MAC

    Anybody have an idea how to free space of my mac.i bought new external hard drive and move most of my folder with music films and document in it.after moving i deleted them from my laptop then emtpy the trash,but after doing this,i still dont get fre