Greasy Fork

Greasy Fork is available in English.

TikTok Video Downloader by YAD

Download TikTok Videos easily

目前为 2021-09-03 提交的版本。查看 最新版本

// ==UserScript==
// @name         TikTok Video Downloader by YAD
// @namespace    http://greasyfork.icu/en/users/781396-yad
// @version      0.1
// @description  Download TikTok Videos easily
// @author       YAD
// @match        https://www.tiktok.com
// @include      https://tiktok.com/*
// @include      https://www.tiktok.com/*
// @include      http://tiktok.com/*
// @icon         https://www.google.com/s2/favicons?domain=pokemon.com
// @grant        none
// ==/UserScript==

(function() {var css = ["video::-webkit-media-controls-panel {",
"display: none!important;",
"}",
"video::-webkit-media-controls-current-time-display,",
"video::-webkit-media-controls-time-remaining-display,",
"video::-webkit-media-controls-volume-slider,",
"video::-webkit-media-controls-mute-button,",
"audio::-webkit-media-controls-timeline,",
"video::-webkit-media-controls-timeline,",
"video::-webkit-media-controls-play-button {",
"    display:none!important;",
"}",
"",
".video-card-browse .event-delegate-mask {",
"    top: -64px!important",
"}",
".video-card-browse .play-button {",
"    width: 100%!important;",
"    height:90%!important;",
"}",
"::-webkit-slider-container {",
"    -webkit-user-modify: read-write!important;",
"}",
".video-card-one-column .video-card-mask,",
".video-card-one-column .event-delegate-mask,",
".video-card-one-column .style-layer-mask {",
"    width: 0px!important",
"}",
".video-card-one-column:hover .toggle-icon,",
".video-card-one-column .toggle-icon-v4, .video-card-one-column .show-v4{",
"    margin-left: -7px;",
"    margin-bottom: -9px;",
"}",
".video-card-one-column:hover .mute-icon,",
".mute-icon.one_column {",
"margin-bottom: -9px;",
"}",
".video-card-one-column .toggle-icon-v4.higher, .video-card-one-column .show-v4.higher {",
"    bottom: 18px;",
"}",
"    ",
".video-card .video-card-mask, .video-card .event-delegate-mask, .video-card .play-button {",
"    inset: 0px;",
"    height: 39px;",
"}",
".card-footer {",
"    background: #fff0!important",
"}"
].join("\n");
if (typeof GM_addStyle != 'undefined') {
 GM_addStyle(css);
 } else if (typeof PRO_addStyle != 'undefined') {
 PRO_addStyle(css);
 } else if (typeof addStyle != 'undefined') {
 addStyle(css);
 } else {
 var node = document.createElement('style');
 node.type = 'text/css';
 node.appendChild(document.createTextNode(css));
 var heads = document.getElementsByTagName('head');
 if (heads.length > 0) { heads[0].appendChild(node);
 } else {
 // no head yet, stick it whereever
 document.documentElement.appendChild(node);
 }
}})();