WordPress.org Plugins - Add SVN link

Adds a SVN link to the end of the "Contributors & Developers" section of a WordPress plugin listing.

目前为 2017-04-07 提交的版本。查看 最新版本

// ==UserScript==
// @name        WordPress.org Plugins - Add SVN link
// @namespace   r-a-y/wporg/svn
// @description Adds a SVN link to the end of the "Contributors & Developers" section of a WordPress plugin listing.
// @include     https://wordpress.org/plugins/*
// @version     1
// @grant       none
// ==/UserScript==

var a = document.createElement('a');
a.setAttribute('href','https://plugins.svn.wordpress.org/' + wporgLocaleBanner.currentPlugin);
a.innerHTML = 'SVN repository';

document.getElementById('developers').appendChild( a );

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址