您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Replaces the inline video "play" icon with a picture of a triangular fish (for logged-in members)
当前为
[This script was originally hosted at userscripts.org]
Quick note: Now works with the MeFi Modern theme! Please upgrade to version 4.0. Will post additional screenshots when I next have a chance. (If you only use the Classic or Plain theme, and don't use the MeFi Deleted Posts greasemonkey script, versions 2.0 and 3.0 should still basically work.)
Example without the fishy icon script [this is a mockup, not an actual post]:
Example with the fishy icon script in action:
Change log:
What this script does:
Users who are (1) logged into MetaFilter and (2) have "YouTube & Vimeo video inline?" enabled in their MeFi Preferences will see a small icon adjacent to a clickable link for a YouTube or Vimeo video -- the icon is a typical media "play" symbol (a triangle pointing right), enclosed in a rectangular box with rounded corners.
This script replaces the default icon with a picture of a triangular fish. It was inspired by a MetaTalk comment from yellowbinder.
Like the fish? Consider donating to help support MetaFilter.
-----
This script works on MeFi, AskMe, MeTa, FanFare, Recent Activity, and all other subsites that offer the inline video option.
Browser compatibility: Version 4.0 was tested as working in Firefox 38.0.1 and Chrome 43 for Windows. No guarantees that this script will work anywhere else or with other MeFi-related scripts* (e.g. it has not been tested in Opera).
If you'd like to modify the script, please feel free. Disclaimer: I am not a programmer, but if you have suggestions for improving it, I'd be interested in learning about them.
-----
Credits:
The original fish image design was created by Everaldo Coelho and YellowIcon and licensed under the GNU Lesser General Public License (LGPL). The fish image used in this script is a derivation from a vector version by Wikimedia Commons user Mouagip. I rotated/flipped the fish to point in the same direction as the standard media "play" triangle symbol.
-----
More cuteness for your MeFi experience:
If you like this script, you might also want to check out these other scripts I posted: MetaFilter hedgehog comment pointer, MetaFilter Recent Activity border o' rainbows, and an update to Rhomboid's MetaFilter unicorn and narwhal buttons and laser kitty.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址