It is currently May 17th, 2024, 11:09 am

"resurrecting" facebook skins

Get help with creating, editing & fixing problems with skins
Unatomic
Posts: 33
Joined: October 23rd, 2012, 7:37 pm

"resurrecting" facebook skins

Post by Unatomic »

Hi all!
I think that many are aware that there is not a good facebook skin anymore because facebook made some changes to the code... Of course you can get the notifications rss but it is not as practical as knowing that there is a message waiting for you without opening your browser.

So! I thought that it would be possible to create a skin that only shows if there is something new, like friend request, message or notification. Just like this: http://troll-face.fr/wp-content/uploads/2012/07/notifications800-170x100.gif (In white icons and transparent background to match my other skins :D )

Since it only shows if something is available, it is not something of critical value and maybe there is a way getting the values from facebook. I found the following code in the starting page at facebook and someone might have an idea about getting the 3 values of friend requests messages and notifications that are waitting to be shown to the facebook user... After getting the values everything else is rainmeter coding.

(Please let me know if there are already other skins for this job, if there are other posts that i didnt notice, and if what i suggest is possible.)

Facebook code from starting page:

Code: Select all

Requests</i></span></a><div class="jewelFlyout fbJewelFlyout toggleTargetClosed  uiToggleFlyout" id="fbRequestsFlyout"><div class="jewelBeeperHeader"><div class="beeperNubWrapper"><div class="beeperNub"></div></div></div><ul class="jewelItemList" id="fbRequestsList"><li id="fbRequestsList_loading_indicator"><img class="jewelLoading img" src="https://s-static.ak.facebook.com/rsrc.php/v2/yb/r/GsNJNwuI-UM.gif" alt="" width="16" height="11" /></li></ul></div></div><div class="fbJewel" id="fbMessagesJewel"><a class="jewelButton" rel="toggle" href="#" role="button" aria-labelledby="mercurymessagesCountWrapper" name="mercurymessages" data-gt="&#123;"ua_id":"jewel:mercurymessages"&#125;" data-target="fbMessagesFlyout" aria-haspopup="true" aria-owns="fbMessagesFlyout"><span class="jewelCount" id="mercurymessagesCountWrapper"><span id="mercurymessagesCountValue">0</span><i class="accessible_elem"> Messages</i></span></a><div class="jewelFlyout fbJewelFlyout toggleTargetClosed  uiToggleFlyout" id="fbMessagesFlyout"><div class="jewelBeeperHeader"><div class="beeperNubWrapper"><div class="beeperNub"></div></div></div><div class="uiHeader uiHeaderBottomBorder jewelHeader"><div class="clearfix uiHeaderTop"><div class="rfloat"><h3 class="accessible_elem">Messages</h3><a class="uiHeaderActions" href="/ajax/messaging/composer.php" onclick="window.Toggler && Toggler.hide();" accesskey="m" rel="dialog" role="button">Send a New Message</a></div><div><h3 class="uiHeaderTitle" aria-hidden="true">Messages</h3></div></div></div><div class="uiScrollableArea fade" style="width:330px;height:325px;" id="MercuryJewelThreadList"><div class="uiScrollableAreaWrap scrollable" tabindex="0"><div class="uiScrollableAreaBody" style="width:330px;"><div class="uiScrollableAreaContent"><ul class="uiList jewelItemList jewelHighlight _4kg _6-h _6-j _4kt"><li class="uiListItem"><div class="jewelContent"></div><img class="jewelLoading img" src="https://s-static.ak.facebook.com/rsrc.php/v2/yb/r/GsNJNwuI-UM.gif" alt="" width="16" height="11" /></li></ul></div></div></div><div class="uiScrollableAreaTrack invisible_elem"><div class="uiScrollableAreaGripper"></div></div></div><div id="MercuryJewelFooter"><div class="jewelFooter"><a class="seeMore" href="/messages/" accesskey="4"><span>See All</span></a></div><div id="pagelet_messages_data" data-referrer="pagelet_messages_data"></div></div></div></div><div class="fbJewel west" id="fbNotificationsJewel"><a class="jewelButton" rel="toggle" href="#" role="button" aria-labelledby="notificationsCountWrapper" name="notifications" onclick="return run_with(this, ["min-notifications-jewel"], function() &#123;MinNotifications.bootstrap(this)&#125;);" data-gt="&#123;"ua_id":"jewel:notifications"&#125;" data-target="fbNotificationsFlyout" aria-haspopup="true" aria-owns="fbNotificationsFlyout"><span class="jewelCount" id="notificationsCountWrapper"><span id="notificationsCountValue">0</span><i class="accessible_elem"> Notifications</i></span></a><div class="jewelFlyout fbJewelFlyout toggleTargetClosed  uiToggleFlyout" id="fbNotificationsFlyout"><div class="jewelBeeperHeader"><div class="beeperNubWrapper"><div class="beeperNub"></div></div></div><div class="uiHeader uiHeaderBottomBorder jewelHeader"><div class="clearfix uiHeaderTop"><div><h3 class="uiHeaderTitle">Notifications</h3></div></div></div><div class="uiScrollableArea fade" style="width:330px;" id="u8an2sh4"><div class="uiScrollableAreaWrap scrollable" tabindex="0"><div class="uiScrollableAreaBody" style="width:330px;"><div class="uiScrollableAreaContent"><ul class="jewelItemList" id="fbNotificationsList" data-gt="&#123;"ref":"notif_jewel","jewel":"notifications"&#125;"><li id="fbNotificationsList_loading_indicator"><img class="jewelLoading img" src="https://s-static.ak.facebook.com/rsrc.php/v2/yb/r/GsNJNwuI-UM.gif" alt="" width="16" height="11" /></li></ul><div class="clearfix uiMorePager stat_elem notifMorePager stat_elem hidden_elem uiMorePagerLight uiMorePagerCenter"><div><a class="pam uiBoxWhite topborder  uiMorePagerPrimary" href="#" ajaxify="/ajax/notifications/get.php?user=1800558560" rel="async">