Fixed Broken Shit
This commit is contained in:
16
user/plugins/useragent/plugin.php
Normal file
16
user/plugins/useragent/plugin.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?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)";
|
||||
}
|
Reference in New Issue
Block a user