Smileyfy My Facebook

Smileyfy My Facebook will convert all profile picture to happy smileys and add some fun rickrolling.

什么是Smileyfy My Facebook?

Smileyfy My Facebook是由https://deanattali.com开发的Chrome扩展程序,该扩展的主要功能是“Smileyfy My Facebook will convert all profile picture to happy smileys and add some fun rickrolling.”。

扩展截图

screenshot
screenshot
screenshot
screenshot

下载Smileyfy My Facebook扩展crx文件

下载Smileyfy My Facebook扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        Code available at: https://github.com/daattali/smileyfy-my-facebook-extension/

Description
=========

This is a Chrome extension that adds infinite happiness to your Facebook browsing, plus a little bonus rickrolling :)  

Smileyfy My Facebook will convert all profile pictures on Facebook to smileys, which makes for a very fun Facebooking experience.  All other images that are not profile pictures will be converted to a picture of Rick Astley (Rickrolling for those who missed out on a full year of internet).

If you're in need of some more smiles in your life, or you constantly find yourself thinking "gee, I really don't get my daily dose of Rick Astley", then this extension is for you!


Features
=========

- Smileyfy My Facebook is non-intrusive and will only show up when browing Facebook.
- Smileyfy My Facebook will not take up any resources or show up in Chrome's Task Manager when you don't have a Facebook tab open.
- The conversion of profile pictures to smileys and of other pictures to Rick Astley are both configurable options that can be turned on/off independently of each other.  
- The options can be acceessed either by clicking on the extension icon or through the Options page under chrome://extensions.  
- The options are saved and remembered indefinitely, so if you ever get sick of smileys you can simply disable them temporarily instead of uninstalling the extension.  
- The extension works on any page in Facebook (home/messages/profile/etc).  
- The extension is AJAX-aware, and will convert new images that get rendered as you scroll down.
- There are a few different Rick images, each with a different aspect ratio, so that each Facebook image can be replaced with an image with a similar aspect ratio.  This is to prevent over-stretching of images which looks really bad.
- A "refresh" button in the extension will let you see how the page looks with and without smileyfication with ease.


Disclaimer
=========

I would not advise using my code as a template or resource for learning how to write Chrome extensions. I learned how to write the extension and fully built it fairly quickly, so I'm not sure what the best practices are and how to properly organize the code. It was just an excuse to test out how Chrome extensions work. I also left a little bit of ugly code in there -- please dont judge :)                    

扩展基本信息

名称 Smileyfy My Facebook Smileyfy My Facebook
ID ideagdnlnmgjdhhbelgadnakbhphljol
官方URL https://chromewebstore.google.com/detail/smileyfy-my-facebook/ideagdnlnmgjdhhbelgadnakbhphljol
简介 Smileyfy My Facebook will convert all profile picture to happy smileys and add some fun rickrolling.
文件大小 283 KB
安装次数 23
当前版本 0.1.1
更新时间 2023-04-28
上架时间 2015-03-30
评分 2.20/5 共5次评分
开发者 https://deanattali.com
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/daattali/smileyfy-my-facebook-extension
支持的语言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Smileyfy My Facebook",
    "version": "0.1.1",
    "manifest_version": 2,
    "description": "Smileyfy My Facebook will convert all profile picture to happy smileys and add some fun rickrolling.",
    "page_action": {
        "default_title": "Smileyfy My Facebook",
        "default_popup": "html\/popup.html"
    },
    "background": {
        "scripts": [
            "js\/background.js",
            "js\/common.js"
        ],
        "persistent": false
    },
    "permissions": [
        "declarativeContent",
        "storage"
    ],
    "options_page": "html\/options.html",
    "icons": {
        "16": "img\/icon-16.png",
        "48": "img\/icon-48.png",
        "128": "img\/icon-128.png"
    },
    "content_scripts": [
        {
            "matches": [
                "https:\/\/www.facebook.com\/*",
                "http:\/\/www.facebook.com\/*"
            ],
            "js": [
                "js\/common.js",
                "js\/smileyfy.js"
            ]
        }
    ],
    "homepage_url": "https:\/\/github.com\/daattali\/smileyfy-my-facebook-extension"
}