diff --git a/components/header.php b/components/header.php index c1940b2..77516fa 100644 --- a/components/header.php +++ b/components/header.php @@ -16,6 +16,13 @@ $showNowPlaying = !empty($is_index) || !empty($do_fullscreen_header); + + +
Top Most Friend runs in your system tray area. When right clicking on it you\'re presented with a menu that contains all currently open windows as well as a number of actions.
'; $body .= $indent . 'Clicking any of the windows will toggle its always on top status, Refresh will reload the window list without dismissing the menu, Settings will open the settings menu displayed below, About shows the about window displayed in the screenshot, and Quit closes the program.
'; $body .= $indent . ''; $body .= $indent . 'In the settings you can alter program behaviour, set a global hotkey that will toggle the always on top status of whichever window currently has focus and open the title blacklist window.
'; $body .= $indent . 'Some windows require administrator privileges to have their top most status toggled, normally the program will prompt you if this is needed but you can also choose to always make the program start itself as administrator. This will have no effect on version of Windows before Vista.
'; $body .= $indent . 'You can also choose to omit the program list from the taskbar menu if you only plan on using the hotkey functionality, this will make the menu open ever so slightly faster.
'; @@ -26,12 +26,12 @@ $body .= $indent . 'The other options are fairly self explanatory, if you\'ve $body .= $indent . '
'; $body .= $indent . 'The title blacklist functions as a way to keep the list in the menu clean, it does not affect anything in regards to the hotkey. Depending on your version of Windows, a number of items may be added by default which are either invisible windows or cannot be toggled at all.
'; $body .= $indent . 'You can add, edit and remove entries using a simple text entry screen, as described in the previous section you can also SHIFT+CLICK things in the program list if enable.
'; $body .= $indent . ''; -$body .= $indent . ''; +//$body .= $indent . ''; $body .= substr($indent, 0, -4); diff --git a/public/topmostfriend/ss-main-160.jpg b/public/topmostfriend/ss-main-160.jpg new file mode 100644 index 0000000..907a389 Binary files /dev/null and b/public/topmostfriend/ss-main-160.jpg differ diff --git a/public/topmostfriend/ss-settings-160.jpg b/public/topmostfriend/ss-settings-160.jpg new file mode 100644 index 0000000..fd77cd1 Binary files /dev/null and b/public/topmostfriend/ss-settings-160.jpg differ diff --git a/public/topmostfriend/ss-settings-blacklist-160.jpg b/public/topmostfriend/ss-settings-blacklist-160.jpg new file mode 100644 index 0000000..3734b37 Binary files /dev/null and b/public/topmostfriend/ss-settings-blacklist-160.jpg differ diff --git a/public/userscripts/remove-trending-tab.user.js b/public/userscripts/remove-trending-tab.user.js index dad92f5..49be162 100644 --- a/public/userscripts/remove-trending-tab.user.js +++ b/public/userscripts/remove-trending-tab.user.js @@ -1,13 +1,13 @@ // ==UserScript== -// @name Removed Trending tab -// @version 6 +// @name Remove Trending tab +// @version 7 // @grant none // @include https://www.youtube.com/* // ==/UserScript== window.addEventListener('load', function() { var checkInterval = setInterval(function() { - var buttons = Array.from(document.querySelectorAll('[href="/feed/explore"], [href="/feed/trending"]')); + var buttons = Array.from(document.querySelectorAll('[href="/feed/explore"], [href="/feed/trending"], [href="/channel/UCqVDpXKLmKeBU_yyt_QkItQ"]')); if(buttons.length) { while(buttons.length) diff --git a/public/whois/index.php b/public/whois/index.php index 04b012c..98de138 100644 --- a/public/whois/index.php +++ b/public/whois/index.php @@ -1,27 +1,6 @@ PDO::CASE_NATURAL, - PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, - PDO::ATTR_ORACLE_NULLS => PDO::NULL_NATURAL, - PDO::ATTR_STRINGIFY_FETCHES => false, - PDO::ATTR_EMULATE_PREPARES => false, - PDO::MYSQL_ATTR_INIT_COMMAND => " - SET SESSION - sql_mode = 'STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION', - time_zone = '+00:00'; - ", - ]); - - $pdo->exec('DELETE FROM `fm_whois` WHERE `whois_timestamp` < NOW() - INTERVAL 30 MINUTE'); -} catch(Exception $ex) { - die($ex->getMessage()); -} +require_once __DIR__ . '/../_v4/includes.php'; $domain = isset($_GET['domain']) && is_string($_GET['domain']) ? idn_to_ascii(mb_strtolower($_GET['domain']), IDNA_NONTRANSITIONAL_TO_ASCII, INTL_IDNA_VARIANT_UTS46) @@ -105,7 +84,7 @@ if(isset($_GET['ajax'])) {