16 lines
328 B
PHP
16 lines
328 B
PHP
<?php
|
|
/*
|
|
Plugin Name: Change User Agent
|
|
Plugin URI: http://yourls.org/
|
|
Description: Identify YOURLS as a vanilla mozilla
|
|
Version: 1.0
|
|
Author: Ozh
|
|
Author URI: http://ozh.org/
|
|
*/
|
|
|
|
yourls_add_filter( 'http_user_agent', 'misterfu_useragent' );
|
|
|
|
// My own UA
|
|
function misterfu_useragent() {
|
|
return "CodsworthCrawler (SOP.wtf)";
|
|
} |