Using some .css and font awesome
Please Get your Own Copy!
please download the files and create it on your host
<?PHP | |
/** | |
* Spintax - A helper class to process Spintax strings. | |
* | |
* @author Jason Davis - https://www.codedevelopr.com/ | |
* | |
* Tutorial: https://www.codedevelopr.com/articles/php-spintax-class/ | |
* | |
* Updated with suggested performance improvement by @PhiSYS. |
<?php | |
/** | |
* Get hearder Authorization | |
* */ | |
function getAuthorizationHeader(){ | |
$headers = null; | |
if (isset($_SERVER['Authorization'])) { | |
$headers = trim($_SERVER["Authorization"]); | |
} | |
else if (isset($_SERVER['HTTP_AUTHORIZATION'])) { //Nginx or fast CGI |
/** | |
* array_contains | |
* Check if string contains word from array. | |
* | |
* @since 1.0.0 | |
* @version 1.0.0 | |
**/ | |
function array_contains($str, array $arr){ | |
foreach($arr as $a){ | |
if(stripos($str, $a) !== false) return true; |
(() => { | |
let count = 0; | |
function getAllButtons() { | |
return document.querySelectorAll('button.is-following') || []; | |
} | |
async function unfollowAll() { | |
const buttons = getAllButtons(); |
<div id="data-table"> | |
<p id="loading-message">Loading...</p> | |
<p id="data-count"></p> | |
<table> | |
<thead> | |
<tr> | |
<th>Title</th> | |
<th>Description</th> | |
<th>Link</th> | |
<th>Category</th> |
A Pen by Cloud Dark on CodePen.