Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.6: Fix creation of widgets due to custom style sheets Web Browsers
Snow Leopard only hintIf you find you cannot create web clip widgets (File » Open in Dashboard) from Safari, try looking into Preferences » Advanced tab. If there is a custom style sheet under 'Style sheet' option, set it to None selected, create the web clip and it should work. Then it's OK to re-enable the custom style sheet.

I thought it might be worthwhile to summarize this possibility in a hint because I spent an hour wondering what was wrong with an almost-freshly-installed Snow Leopard on a Mac Book Pro -- all I could get was a white rectangle and a com.apple.widget.web-clip: illegal type passed to setPreferenceForKey: undefined error message in the Console.

While you'd definitely remember setting your own CSS, some third party plug-ins (notably, ad/scam blockers and content filters) may set a custom CSS for their own needs without your knowledge.

[crarko adds: I tried this with a custom style sheet I had and had no problem saving clippings to the Dashboard. There must be some specific setting in some style sheets which can cause the issue, but I don't know what that setting is. This may be specific to 10.6, so I've left it marked as the author submitted it -- but if you're having the same issue in 10.5, please let me know.]
    •    
  • Currently 2.67 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (9 votes cast)
 
[4,539 views]  

10.6: Fix creation of widgets due to custom style sheets | 3 comments | Create New Account
Click here to return to the '10.6: Fix creation of widgets due to custom style sheets' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Fix creation of widgets due to custom style sheets
Authored by: sredlums on May 14, '10 10:25:12AM

Thanx, this did the trick for me.
I downloaded a custom stylesheet a while ago, to change the look of the Safari RRS page, and still used that. After turning it of everything works again (10.6 user here).
I do have another webwidget-in-dashboard-problem, maybe somebody has a solution to that;
Every week there is a website that has live comments on the games my favorite sportsclub plays.
This website is ugly and distracting, so I sometimes make a webwidget of just the comments part. But, during the week I want to turn that webwidget of (to save resources and because it is way to big to keep it turned on). However, I have to remake it every week, it can not be saved for 're-use'. Or can it...?



[ Reply to This | # ]
10.6: Fix creation of widgets due to custom style sheets
Authored by: timcrawf on May 15, '10 08:27:22AM

Best tip of the year. I have always used a custom style sheet (I can't stand underlined links). I have never been able to get the WebClips feature to work (it worked for other logins but not mine). I never thought it could be a style sheet issue.
Thanks again.
Now lets all file a bug report at http://radar.apple.com



[ Reply to This | # ]
10.6: Fix creation of widgets due to custom style sheets
Authored by: wjv on May 19, '10 03:16:59AM

I can confirm that this problem has existed for a long time, through several versions of Safari and OS X.

I've also known the solution for some years, though I cannot now recall whether I figured it out myself or read it somewhere. Shame on me for not posting a hint, I guess…



[ Reply to This | # ]