1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Youtube iMacro - Unsubscribe Confirmation

Discussion in 'Other Scripting Languages' started by Scorpion Ghost, Apr 9, 2017.

  1. Scorpion Ghost

    Scorpion Ghost Senior Member

    Joined:
    Mar 22, 2013
    Messages:
    1,120
    Likes Received:
    265
    Occupation:
    Internet!
    Location:
    On the Interwebz
    I'm trying to edit a script I have for Unsubscribing from Youtube, but I'm stuck on the Confirmation for unsubscribing. Every time you try to unsubscribe from a profile, you're prompted for a confirmation, and because the TAG POS=x changes all the time, I can't make a script that works and will continue to work.

    Can anyone check it out?

    Make sure you're logged into Youtube, and go here: https://www.youtube.com/subscription_manager

    Click Unsubscribe next to any profile, and see the confirmation popup. See if you can get iMacros to click the confirmation in a way that the changing TAG POS won't break the script after the next refresh.

    Thanks
     
  2. Scorpion Ghost

    Scorpion Ghost Senior Member

    Joined:
    Mar 22, 2013
    Messages:
    1,120
    Likes Received:
    265
    Occupation:
    Internet!
    Location:
    On the Interwebz
    Come on guys.

    Here's the HTML code on the button I need to click:

    HTML:
    <button class="yt-uix-button yt-uix-button-size-default yt-uix-button-primary overlay-confirmation-unsubscribe-button yt-uix-overlay-close" type="button" onclick=";return false;"><span class="yt-uix-button-content">Unsubscribe</span></button>
     
  3. traylerc

    traylerc Newbie

    Joined:
    Apr 29, 2013
    Messages:
    27
    Likes Received:
    10
    Location:
    South England
    Hey, Reason TAG POS will not work is because Tag Pos is based on the amount of Subs you have, and if it goes over around 99 subs I think POS goes up some random number between 60 and 99.

    Your best bet is to use EVENT TYPE=CLICK and I would guess it will go up by one number for each cancel Sub button.
     
  4. Scorpion Ghost

    Scorpion Ghost Senior Member

    Joined:
    Mar 22, 2013
    Messages:
    1,120
    Likes Received:
    265
    Occupation:
    Internet!
    Location:
    On the Interwebz
    Yeah, that's how I ended up doing it :)