How to delete all pictures of ONE gallery at once

Update (Nov. 13th)

Thanks to fellow user star1962-1, there is an easier way to delete all pictures of one gallery at once:

1. Go to https://xhamster.com/my/photos
2. Click on the "Pencil button" (Edit) of the gallery you want to delete
3. The gallery will open in a new tab
4. Switch to "Mobile Version" (bottom of the page)
5. Click on the Pencil icon (Edit) located at the top right side of your gallery page. The gallery editor will open in the same tab.
6. Click on the "Remove gallery" link at the top left side of the page
7. Click on the button "Yes" on the pop-up "Remove gallery: Are you sure you want to remove current gallery?"

And that it is! Now repeat for each gallery you want to delete.

Given that this procedure is easier and it seems to work in any browser/OS combination and for all users that tried it, please consider my script as deprecated.

Thanks a lot!.

=====================

A lot of people are asking me how to delete all their photo galleries at once. It is not easy as XH doesn't want you to delete your content because they use YOUR content to sell ads (their main source of income). because of this, you need to delete each picture one at a time.

I wrote a procedure to delete all pictures of ONE gallery at once (Warning: This will delete all the pictures of your gallery and there is no provision to recover the pictures). Remember that you cannot upload new pictures to your account unless you are a verified user.

1. Go to https://xhamster.com/my/photos
2. Click on the "Pencil button" (Edit) of the gallery you want to delete
3. The gallery will open in a new tab
4. On the gallery tab that just opened, open the Javascript Console pressing Command + Option + J (Mac) or Control + Shift + J (Windows, Linux, Chrome OS).

Note: Please make sure that you're opening the Javascript Console in the Edit Gallery tab (the url should start with https://xhamster.com/my/edit/photos/) and not the My Content tab (https://xhamster.com/my/photos) to avoid the error Uncaught TypeError: buttons_delete.click is not a function.

5. Paste the following three lines of code at the console prompt

var buttons_delete = document.getElementsByClassName('delete delete-photo');
for(var i = 0; i < buttons_delete.length; i++)
buttons_delete.click();


6. Press the "Enter" key and watch how the pictures are being deleted
7. If you have several pages of pictures in your gallery, you will need to repeat steps 5 and 6 until all pictures are deleted.
8. Start again with step 1 to delete another gallery.

If this procedure works for you, please copy it to your profile or to a post in your account and mention it to your friends and followers. I'm sure XH will delete this post. Thanks!
発行者 PPataquiva
4年前
コメント数
xHamsterは 成人専用のウェブサイトです!

xHamster で利用できるコンテンツの中には、ポルノ映像が含まれる場合があります。

xHamsterは18歳以上またはお住まいの管轄区域の法定年齢いずれかの年齢が高い方に利用を限定しています。

私たちの中核的目標の1つである、保護者の方が未成年によるxHamsterへのアクセスを制限できるよう、xHamsterはRTA (成人限定)コードに完全に準拠しています。つまり、簡単なペアレンタルコントロールツールで、サイトへのアクセスを防ぐことができるということです。保護者の方が、未成年によるオンライン上の不適切なコンテンツ、特に年齢制限のあるコンテンツへのアクセスを防御することは、必要かつ大事なことです。

未成年がいる家庭や未成年を監督している方は、パソコンのハードウェアとデバイス設定、ソフトウェアダウンロード、またはISPフィルタリングサービスを含む基礎的なペアレンタルコントロールを活用し、未成年が不適切なコンテンツにアクセスするのを防いでください。

운영자와 1:1 채팅