Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>
- /* Show overlay elements */
- .snowliftOverlay {opacity: 1 !important;}
- .uiContextualLayerPositioner {opacity: 1 !important;}
- /* Download button */
- ._54nc[data-action-type="download_photo"] {display: flex;}
- ._54nc[data-action-type="download_photo"]:hover {
- display: flex;
- background: green;
- color: white;
- }
- .uiButtonText {
- border: 1px solid orange !important;
- padding: 0px 15px !important;
- }
- .uiButtonText:hover {
- background: orange;
- text-decoration: none !important;
- }
- </style>
- <script>
- /* Photo download button */
- function clickOptions() {
- $('.fbPhotoSnowliftDropdownButton')[0].click();
- }
- function replaceImgDownload() {
- $('.uiButtonText').css('background', 'red');
- var btnDown = $('._54nc[data-action-type="download_photo"]');
- console.log(btnDown);
- $('._6iiu').append(btnDown);
- btnDown.addClass('_18vi');
- clickOptions();
- }
- setTimeout(clickOptions, 7000);
- setTimeout(replaceImgDownload, 7500);
- </script>
Add Comment
Please, Sign In to add comment