WordPress.com Stats Sparkline

Adds a stats sparkline to the WordPress.com admin bar

ผู้เขียน
tPenguinLTG
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
69
คะแนน
0 0 0
เวอร์ชัน
1.2.0
สร้างเมื่อ
27-12-2016
อัปเดตเมื่อ
16-06-2019
Size
2.19 กิโลไบต์
สัญญาอนุญาต
MPLv2.0
ปรับใช้กับ

wpcom-stats-sparkline.user.js

WordPress.com has removed the view stats sparkline that was previously in the admin bar. Restoring it is under consideration, but until it is restored, this user script restores it.

Installation

If you don't already have one, install a browser extension that allows you to run user scripts. Then, install the script from Greasy Fork.

Alternatively, visit the URL below:

https://github.com/tpenguinltg/wpcom-stats-sparkline/raw/master/wpcom-stats-sparkline.user.js

Custom Domains

If you own a custom domain, you will have to add the domain to the script's includes. Go to the script's options in your extension and add the following as an include, where example.com is your custom domain:

https://example.com/*

If your extension does not have support for user includes, edit the script and add this after the @include line, again where example.com is your custom domain:

// @include https://example.com/*

Changelog

  • v1.0.0: Initial release
  • v1.1.0: Add support for custom domains