NonFixedYoutubeDownloadBookmark v3

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

{"k_uuid":"yt-non-fixed-uuid","title":"00.

YouTube downloader (Non


Fixed)","url":"javascript:(function() {\n var domain =
window.location.hostname.toLowerCase();\n if(domain == 'youtube.com' ||
domain.lastIndexOf('.youtube.com') != -1) {\n var overlay =
document.getElementById('yt_overlay');\n if(overlay)\n overlay.remove();\n
var downloadframe = document.getElementById('yt_download_frame');\n
if(downloadframe)\n downloadframe.remove();\n if(typeof
window.JSInterface !== 'undefined' && typeof window.JSInterface.setBooleanData !==
'undefined')\n window.JSInterface.setBooleanData('disable_new_window_allow_1dm',
true);\n\tvar appendElement = document.querySelector('ytm-engagement-panel, ytm-
slim-video-metadata-renderer, .slim-video-metadata-actions');\n\toverlay =
document.createElement(\"div\");\n\tif(appendElement !== null) {\n\t
appendElement.parentElement.insertBefore(overlay, appendElement);\n\t
overlay.outerHTML = '<div id=\"yt_overlay\" style=\"width:100%;height:100%;text-
align:center;z-index:1000\"><div style=\"background-color:#fff;border:1px solid
#000;padding:15px;text-align:center\"><h2>Youtube downloader<\/h2><label
for=\"yt_file_format\" style=\"margin-right:10px;font-
size:18px;color:#4CAF50\">Choose a format:<\/label><select name=\"yt_file_format\"
id=\"yt_file_format\" style=\"color:#4CAF50\"><option
value=\"\">Default<\/option><option value=\"mp3\">MP3<\/option><option
value=\"m4a\">M4A<\/option><option value=\"360\">MP4 360p<\/option><option
value=\"480\">MP4 480p<\/option><option value=\"720\">MP4 720p<\/option><option
value=\"1080\">MP4 1080p<\/option><option value=\"4k\">WEBM 4K<\/option><option
value=\"8k\">WEBM 8K<\/option><\/select><br \/><br \/><button type=\"button\"
id=\"yt_cancel\" style=\"margin-right:10px;background-
color:#ccc;color:#000;border:none;padding:8px 15px;text-align:center;text-
decoration:none;display:inline-block;font-size:16px;cursor:pointer;\">Cancel<\/
button><button type=\"button\" id=\"yt_download\" style=\"margin-
left:10px;background-color:#4CAF50;color:#fff;border:none;border:none;padding:8px
15px;text-align:center;text-decoration:none;display:inline-block;font-
size:16px;cursor:pointer;\">Download<\/button><br \/><br \/><a
href=\"https:\/\/play.google.com\/store\/apps\/details?
id=idm.internet.download.manager\" target=\"_blank\" style=\"text-decoration:
underline;font-weight: bold;cursor:pointer;\">DOWNLOAD 1DM FOR
ANDROID<\/a><\/div><\/div>';\n\t} else {\n
document.body.appendChild(overlay);\n\t overlay.outerHTML = '<div
id=\"yt_overlay\"
style=\"position:absolute;left:0;top:0;width:100%;height:100%;text-align:center;z-
index:1000\"><div style=\"position:fixed;width:75%;left:50%;transform:translate(-
50%,0);margin-top:60px;background-color:#fff;border:1px solid
#000;padding:15px;text-align:center\"><h2>Youtube downloader<\/h2><label
for=\"yt_file_format\" style=\"margin-right:10px;font-
size:18px;color:#4CAF50\">Choose a format:<\/label><select name=\"yt_file_format\"
id=\"yt_file_format\" style=\"color:#4CAF50\"><option
value=\"\">Default<\/option><option value=\"mp3\">MP3<\/option><option
value=\"m4a\">M4A<\/option><option value=\"360\">MP4 360p<\/option><option
value=\"480\">MP4 480p<\/option><option value=\"720\">MP4 720p<\/option><option
value=\"1080\">MP4 1080p<\/option><option value=\"4k\">WEBM 4K<\/option><option
value=\"8k\">WEBM 8K<\/option><\/select><br \/><br \/><button type=\"button\"
id=\"yt_cancel\" style=\"margin-right:10px;background-
color:#ccc;color:#000;border:none;padding:8px 15px;text-align:center;text-
decoration:none;display:inline-block;font-size:16px;cursor:pointer;\">Cancel<\/
button><button type=\"button\" id=\"yt_download\" style=\"margin-
left:10px;background-color:#4CAF50;color:#fff;border:none;border:none;padding:8px
15px;text-align:center;text-decoration:none;display:inline-block;font-
size:16px;cursor:pointer;\">Download<\/button><br \/><br \/><a
href=\"https:\/\/play.google.com\/store\/apps\/details?
id=idm.internet.download.manager\" target=\"_blank\" style=\"text-decoration:
underline;font-weight: bold;cursor:pointer;\">DOWNLOAD 1DM FOR
ANDROID<\/a><\/div><\/div>';\n\t} \n var yt_cancel =
document.getElementById('yt_cancel');\n yt_cancel.addEventListener(\"click\",
(function(){var temp=document.getElementById('yt_overlay');
if(temp)temp.remove();}));\n var yt_download =
document.getElementById('yt_download');\n
yt_download.addEventListener(\"click\", (function(){var yt_file_format =
document.getElementById('yt_file_format');var
temp=document.getElementById('yt_overlay'); if(temp)temp.remove(); \n var
frame = document.getElementById('yt_download_frame');\n if(frame)\n
frame.remove();\n frame = document.createElement(\"div\");\n\tif(appendElement !
== null) {\n\t appendElement.parentElement.insertBefore(frame, appendElement);\n\t
frame.outerHTML = '<div id=\"yt_download_frame\"
style=\"width:100%;height:100%;text-align:center;z-index:1000;margin-
top:10px;\"><div><iframe scrolling=\"no\"
style=\"width:230px;height:60px;border:0;overflow:hidden;\"
src=\"https:\/\/loader.to\/api\/button\/?
url='+encodeURIComponent(window.location.href.replace(\/&list=.*?&\/,
'&').replace(\/&list=[^&]*$\/, '').replace(\/youtube.com\\.+\\\/\/i,
'youtube.com\/'))
+'&type=Download&f='+yt_file_format.options[yt_file_format.selectedIndex].value+'\"
><\/iframe><br \/><button type=\"button\" id=\"yt_download_cancel\" style=\"margin-
right:10px;background-color:#ccc;color:#000;border:none;padding:8px 15px;text-
align:center;text-decoration:none;display:inline-block;font-
size:16px;cursor:pointer;\">Close<\/button><\/div><\/div>'; \n\t} else {\n
document.body.appendChild(frame);\n\t frame.outerHTML = '<div
id=\"yt_download_frame\"
style=\"position:absolute;left:0;top:0;width:100%;height:100%;text-align:center;z-
index:1000\"><div style=\"position:
fixed;width:300px;height:100px;left:50%;transform:translate(-50%,0);margin-
top:60px;\"><iframe scrolling=\"no\"
style=\"width:230px;height:60px;border:0;overflow:hidden;\"
src=\"https:\/\/loader.to\/api\/button\/?
url='+encodeURIComponent(window.location.href.replace(\/&list=.*?&\/,
'&').replace(\/&list=[^&]*$\/, '').replace(\/youtube.com\\.+\\\/\/i,
'youtube.com\/'))
+'&type=Download&f='+yt_file_format.options[yt_file_format.selectedIndex].value+'\"
><\/iframe><br \/><button type=\"button\" id=\"yt_download_cancel\" style=\"margin-
right:10px;background-color:#ccc;color:#000;border:none;padding:8px 15px;text-
align:center;text-decoration:none;display:inline-block;font-
size:16px;cursor:pointer;\">Close<\/button><\/div><\/div>';\n\t} \n var
yt_download_cancel = document.getElementById('yt_download_cancel');\n
yt_download_cancel.addEventListener(\"click\", (function(){var
temp=document.getElementById('yt_download_frame'); if(temp)temp.remove();}));\
n }));\n } else\n alert('Not a YouTube link');\n})();","folder":"","order":-
1,"f_order":-1,"mod_date":1614013353362}

You might also like