Mac OS and Flash

Discussion in 'macOS Sierra (10.12)' started by wrongcoast, Dec 5, 2016.

  1. wrongcoast macrumors newbie

    Joined:
    Oct 29, 2009
    Location:
    LA
    #1
    I know there are always complaints about Flash but here's another. Every time I upgrade (going back before Yosemite) afterwards my fans take off and the only way to fix it is to remove Flash. Anyone else have the same problem and any idea why and how to fix it for good?
    Thanks.
     
  2. Zazoh macrumors 6502a

    Zazoh

    Joined:
    Jan 4, 2009
    Location:
    Mico, Texas
    #2
    My favorite way to fix this ...
    Screen Shot 2016-12-05 at 2.45.50 PM.png

    I don't have installed. Its on the way out and websites have had years to adopt to HTML5.
     
  3. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #3
    What I have done is uninstall Flash then install Chrome, which has flash included. Then when I hit a site that requires flash, I jump over into Chrome. This happens less and less often.

    You paste this into Script Editor and save as an Application for a quick way to open the existing Safari page in a new Chrome page.

    Code:
    if application "Safari" is running then
        tell application "Safari"
            try
                set currentSafariURL to URL of current tab of front window
                set pageName to name of current tab of front window
            on error
                return "There are no pages open in Safari at the moment"
            end try
        end tell
        
        tell application "Google Chrome"
            activate
            
            # If Chrome has no windows open make a new window
            if (count of windows) is 0 then make new window
            set currentChromeURL to URL of active tab of front window
            
            # Don't do anything if the page is already open in Chrome
            if currentChromeURL is not currentSafariURL then
                
                # If the active tab is in use make a new tab
                if currentChromeURL is not "chrome://newtab/" then
                    make new tab at end of tabs of front window
                end if
                
                # Open the URL from Safari
                set URL of active tab of front window to currentSafariURL
                
            else
                return "The current Safari tab is already open in Chrome"
            end if
        end tell
        
        # Enable the following line to post notifications after sending URLs to Chrome
        --return "Opening '" & pageName & "' in Chrome"
    else
        return "Safari is not open at the moment"
    end if
     
  4. Bruno09, Dec 5, 2016
    Last edited: Dec 5, 2016

    Bruno09 macrumors 68020

    Joined:
    Aug 24, 2013
    Location:
    Far from here
    #4
    I have uninstalled Flash Player, and use this Safari extension : "Open in Chrome".

    It adds a button to the Safari toolbar :

    Capture d’écran 2016-12-05 à 22.29.51.png
     
  5. fisherking macrumors 603

    fisherking

    Joined:
    Jul 16, 2010
    Location:
    ny somewhere
    #5
    this is a great tool, easy to setup, and works (seems i need it less & less, but there if...)
     
  6. wrongcoast thread starter macrumors newbie

    Joined:
    Oct 29, 2009
    Location:
    LA
    #6
    You guys rock! Thx for the terrific suggestions.
     
  7. benthewraith macrumors 68040

    benthewraith

    Joined:
    May 27, 2006
    Location:
    Miami, FL
    #7
    You don't need a plugin to open a site from Safari to Chrome. There's an option for it in the Develop menu of Safari.
     
  8. fisherking macrumors 603

    fisherking

    Joined:
    Jul 16, 2010
    Location:
    ny somewhere
    #8
    are you talking about the User Agent options? viewing 'as in chrome' is not the same as actually viewing in chrome... or is there something else?
     
  9. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #9
    ...something else. This will open the page in Chrome.

    Screen Shot 2016-12-06 at 10.49.34 AM.png
     
  10. fisherking macrumors 603

    fisherking

    Joined:
    Jul 16, 2010
    Location:
    ny somewhere
    #10
    ah, right. have been using "open in chrome" for so long; thanx for that!
     

Share This Page