Author Topic: Extensions for Safari 5  (Read 3278 times)

Offline Xairbusdriver

  • Administrator
  • TS Addict
  • *****
  • Posts: 26388
  • 27" iMac (mid-17), Big Sur, Mac mini, Catalina
    • View Profile
    • Mid-South Weather
Extensions for Safari 5
« on: June 25, 2010, 08:54:26 PM »
I decided it was time to put some of the new capabilities of Safari to work. Downloaded two extensions: Safari AdBlock (not to be confused by the plug-in with the same name and Invisible Status Bar. <Here's where I got them>, but you can see there are at least four pages of extensions available as I write this.

Howsome ever, I couldn't seem to get Safari to accept them. doh.gif I already had set the "Enable Extensions" menu in the Develop menu.
    If you don't have that menu, you can't do the "enable" bit, of course. *See the last paragraph for the slightly less than intuitive instructions to get that menu as well as the "Extensions" tab in your prefs.
While the downloading was fine, the 'standard' install method did nothing but re-download the file (recognized by its ".safariextz" file name suffix). Tried the following:
    1. Quit Safari and double-click the file.
    2. Quit Safari and control/right-click the file and use the "Open" menu item.
    3. Quit Safari and control/right-click and use the "Open with..." menu and specifically select Safari!
    4. Quit Safari and ate dinner.
The only successful procedure was number four. tease.gif

Out of shear desperation, I went to Apple's Forums. eek2.gif Sure enough, there were plenty of people having the same problem. Also many 'helpers' confused about what 'extensions' were, what version of Safari could use them, where they are stored and several methods of installing them. Of course, there were also responses saying, "Thanks, that's exactly what I needed!" Except there were many more reporting that nothing had helped. I was just another one...

But, one thread gave the path to where they were stored ~/Library/Safari/Extensions. Well, guess what?! There weren’t no "Extensions" folder in that path on my iMac! wallbash.gif Others had mentioned a "Preferences" file in there, also. Not in mine. The only one for Safari was in the usual ~/Library/Preferences path. Anyway, with nothing to lose, I simply created the "Extensions" folder where some said it should be. And re-started Safari. Repeated steps 1 through 3 above. (Judy said she wouldn't help with number 4 until tomorrow night)

I wish I could report success, but nothing worked, yet. sad.gif

Then I noticed that there was now an "Extensions.plist" in that folder I created! So, Safari must have noticed that things were a little different. Maybe if I manually move one of those two downloaded extensions into the folder Safari now 'sees,' it will also 'see' that. Thinking.gif Quit Safari, move the file, re-start Safari: nada, no change. rant.gif

OK, one last double-click and I'll forego Safari extensions. I double-clicked the file I downloaded and manually placed in the folder I created for Safari. Well, looky there! The much talked about, but never seen on this Mac dialog asking if I really, really wanted to open this file that appears to have come from the interwebs! "Well, let me think about that for another couple of hours...OF COURSE I WANT TO OPEN IT!!! WHY DO YOU THINK I DOUBLE-CLICKED IT???!!! WERE YOU NOT AWAKE WHEN I DOWNLOADED THE THING A COUPLE OF HOURS AGO AND HAVE WORN SOME PIXELS OFF THE ICON BY DOUBLE-CLICKING A GAZILLION TIMES???!!!!! whistling.gif

Well, to make a gruelingly frustrating problem shorter...it worked. whoopie. whew.gif

*Now, to be able to enable the use of Extensions in Safari FIVE:
    Open the Safari prefs
    Click the Advanced tab
    Click the "Show Develop menu" checkbox
    Close the prefs window, if you like.
    Now, in the just appeared Develop menu, select the "Enable Extensions" item.
The reason I've heard about this weird procedure is that the upcoming Extensions Store is not yet available and Apple wants to be the supplier for these things, of course. Even though they are all, so far, free/donation ware. Another reason is that Extensions are still a work in progress. I can certainly vouch for that, at least in the "let me use one" area. BTW, now that you have enabled Extensions, you will also have a new tab in the prefs labeled...
    wait for it...
Extensions! WOW.gif


That will display some info about the Extension and, supposedly, allow managing them.
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system
CAUTION! Childhood vaccinations cause adults! :yes:

Offline Paddy

  • Administrator
  • TS Addict
  • *****
  • Posts: 13797
    • View Profile
    • https://www.paddyduncan.com
Extensions for Safari 5
« Reply #1 on: June 25, 2010, 09:30:39 PM »
Haven't had time yet...

More here: http://safariextensions.tumblr.com/ (click on "Older Posts" to keep going through the list. I have no idea how many pages it is now!)
"If computers get too powerful, we can organize them into committees. That'll do them in." ~Author unknown •iMac 5K, 27" 3.6Ghz i9 (2019) • 16" M1 MBP(2021) • 9.7" iPad Pro • iPhone 13

Offline jcarter

  • TS Addict
  • *****
  • Posts: 5808
    • View Profile
    • http://www.jcarter.net/ourdogs/muffinpage.html
Extensions for Safari 5
« Reply #2 on: June 26, 2010, 07:29:13 AM »
I was able to install "Safari Source" on my other Mac, but I had to mess around with something called "SIMBL", annoying to have to do this first as it took time and trouble that I didnt think most people would bother with.
On this Mac, it didnt work, so I gave up.
I use Firefox with its nice source code color anyway.
Jane

Offline Paddy

  • Administrator
  • TS Addict
  • *****
  • Posts: 13797
    • View Profile
    • https://www.paddyduncan.com
Extensions for Safari 5
« Reply #3 on: June 26, 2010, 12:16:12 PM »
Jane, do you not have the "Develop" menu enabled in Safari? It's in the preferences->advanced. Check the box for "show Develop menu in menu bar" - and voila. Lots of great stuff there, including color coded code and CSS. Very, very useful at times when you're wondering "how'd they do that?"
"If computers get too powerful, we can organize them into committees. That'll do them in." ~Author unknown •iMac 5K, 27" 3.6Ghz i9 (2019) • 16" M1 MBP(2021) • 9.7" iPad Pro • iPhone 13

Offline jcarter

  • TS Addict
  • *****
  • Posts: 5808
    • View Profile
    • http://www.jcarter.net/ourdogs/muffinpage.html
Extensions for Safari 5
« Reply #4 on: June 26, 2010, 12:29:44 PM »
Oh, yes, I had forgotten about it, as I use Firefox for most of that stuff.
I will play with it a bit, as I need to learn a lot more about it.  
This winter when I have more time, I plan to take a couple classes in CSS and then I will look for some tutorials on how to use this great stuff.
Thank you,
Jane

Offline Xairbusdriver

  • Administrator
  • TS Addict
  • *****
  • Posts: 26388
  • 27" iMac (mid-17), Big Sur, Mac mini, Catalina
    • View Profile
    • Mid-South Weather
Extensions for Safari 5
« Reply #5 on: June 27, 2010, 07:44:57 AM »
I haven't looked at that extension. If all it does is display a wep pages 'source' you don't need anything extra for that. AFAIK, every browser has  'show source' menu item. If some kind of color coding is what the extensin supplies, you can always Copy the text in the source window and Paste it into a free editor like Text Wrangler. There is also a fantastic Debug menu that I had in my older version of Safari that let's you drill down/step through the flow of the HTML/CSS of a page. That menu has disapeared with the last update...need to re-install something... dntknw.gif  wallbash.gif
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system
CAUTION! Childhood vaccinations cause adults! :yes:

Offline jchuzi

  • TS Addict
  • *****
  • Posts: 3094
    • View Profile
Extensions for Safari 5
« Reply #6 on: June 27, 2010, 07:57:52 AM »
If you have Cocktail, you can enable the Debug menu via its Interface tab. I don't know if this works for Safari 5, but look at the command line for Safari 4.
« Last Edit: June 27, 2010, 10:16:07 AM by jchuzi »
Jon

macOS 11.7.10, iMac Retina 5K 27-inch, late 2014, 3.5 GHz Intel Core i5, 1 TB fusion drive, 16 GB RAM, Epson SureColor P700, Photoshop CC, Lightroom CC, MS Office 365

Offline Paddy

  • Administrator
  • TS Addict
  • *****
  • Posts: 13797
    • View Profile
    • https://www.paddyduncan.com
Extensions for Safari 5
« Reply #7 on: June 27, 2010, 06:45:36 PM »
QUOTE
That menu has disapeared with the last update...need to re-install something...


Odd - I didn't reinstall or do anything after I updated to Safari 5 and my Debug menu is still there.

Safari Helper will also allow you to enable the Debug menu: http://mac.downloadatoz.com/safari-helper/
"If computers get too powerful, we can organize them into committees. That'll do them in." ~Author unknown •iMac 5K, 27" 3.6Ghz i9 (2019) • 16" M1 MBP(2021) • 9.7" iPad Pro • iPhone 13

Offline Xairbusdriver

  • Administrator
  • TS Addict
  • *****
  • Posts: 26388
  • 27" iMac (mid-17), Big Sur, Mac mini, Catalina
    • View Profile
    • Mid-South Weather
Extensions for Safari 5
« Reply #8 on: June 28, 2010, 11:08:07 AM »
"Cocktail..." Yep, that's how I'd done it before... doh.gif thanx.gif
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system
CAUTION! Childhood vaccinations cause adults! :yes:

Offline jchuzi

  • TS Addict
  • *****
  • Posts: 3094
    • View Profile
Extensions for Safari 5
« Reply #9 on: June 28, 2010, 11:31:24 AM »
I had the same experience as Paddy. After upgrading from Safari 4 to Safari 5, the Debug menu was still there. I have no idea why it worked for him and myself but not for you.  Thinking.gif
« Last Edit: June 28, 2010, 11:31:42 AM by jchuzi »
Jon

macOS 11.7.10, iMac Retina 5K 27-inch, late 2014, 3.5 GHz Intel Core i5, 1 TB fusion drive, 16 GB RAM, Epson SureColor P700, Photoshop CC, Lightroom CC, MS Office 365