Linux 软件免费装
Banner图

Farticles

开发者 numeeja
更新时间 2024年4月17日 00:20
捐献地址: 去捐款
PHP版本: 3.5 及以上
WordPress版本: 6.5
版权: GPLv2

标签

fart fartscroll gas wind flatulence cut the cheese onion

下载

1.0.0 1.1.0 1.2.1 1.0.1

详情介绍:

Farticles makes your WordPress site fart when a page is scrolled. Now with added backend and login farts Important After installing, you will need to visit your general options page to set where you would like to fart.
Use with care as websites playing any kind of audio without a warning or permission from the user are generally obnoxious and annoying.
This plugin uses the fartscroll.js script from the onion

安装:

  1. Upload the 'Farticles' folder to the '/wp-content/plugins/' directory
  2. 通过 WordPress 的“插件”菜单激活插件
  3. Visit settings -> general and set where your would like your farts to appear

升级注意事项:

1.2.1
  • bugfix - fatal error on activation!
1.2.0
  • fixed idevice detection
1.1.0
  • Section added to general settings to enable frontend, backend and login farts
1.0.1
  • Prevent the plugin scripts being added on iPad/iPhone/iPod. As the .scroll() function is used, iDevices will not trigger the farts, but in some themes the plugin caused an white div to appear under the footer.
1.0.0
  • Initial Version

常见问题:

Why doesn't it work?

It does. You probably didn't notice the instruction that you need to visit your general options page to set where you would like your farts.

What is fartscroll.js?

The fartscroll.js script came from the the onion

Whats with the base 64 stuff in the js file?

That is the MP3 & ogg audio

It doesn't work on my iPad / iPhone

The fartscroll.js script could possibly be modified to replace the .scroll() function with a touchend event listener when an iPad is used. I probably won't be looking at doing this anytime soon, so the plugin will not have any effect on apple iDevices unless someone really needs this and is able to sponsor the development of a new version.

The github page shows how to configure the number of pixels scrolled before a fart, so where are the settings?

The value is set to 400px by default. I might add a config page for selecting a value for the interval, but the default setting seems okay to me

I want my admin area and/or login page to fart as well

This has been added in version 1.1.0+

更新日志:

1.2.1 1.2.0 1.1.0 1.0.1 1.0.0