Redirect from main page

Discussion in 'Technical Support (AdGuard for iOS)' started by tanotify, Sep 14, 2018 at 7:48 AM.

  1. tanotify

    tanotify New Member

    Joined:
    Friday
    Messages:
    5
  2. tanotify

    tanotify New Member

    Joined:
    Friday
    Messages:
    5
    What's wrong with it, why I cannot add it?
    youtube.com#%#if(location.pathname=='/'){location.pathname='/feed/subscriptions'}
     
  3. Blaz

    Blaz Moderator & Translator Moderator

    Joined:
    Dec 21, 2014
    Messages:
    9,116
    iOS does not support javascript rules. It only supports blocking rules and normal element hiding rules due to API restrictions by Apple.
     
  4. tanotify

    tanotify New Member

    Joined:
    Friday
    Messages:
    5
    Now I got why nothing worked. Is there ability to hide element only on main page with rule?
     
  5. Blaz

    Blaz Moderator & Translator Moderator

    Joined:
    Dec 21, 2014
    Messages:
    9,116