add custom rule on iPad?

Briandr

New Member
Is it possible to import a custom user rule for Adguard on iPad. I am guessing No since you can't store a text file on it. Not sure you can use iTunes to upload file onto it. I tried copying and pasting the rule but got an error message. Best way short of typing in rule character by character?? Thanks
 

Briandr

New Member
The code seanl so graciously supplied appears to work on firefox on a mac with some other tweets. On an iPad I get rule text invalid. Ideas?

Code:
bostonglobe.com#$#body.type-article { overflow: visible!important; }
bostonglobe.com#$#html { overflow: visible!important; }
bostonglobe.com#$##contain { overflow: visible!important; }
bostonglobe.com#$#.mfp-bg { display:none!important; }
bostonglobe.com#$#.mfp-wrap { display:none!important; }
bostonglobe.com#$#.meter-modal-block { display:none!important; }
bostonglobe.com#$#body.ReactModal__Body--open { overflow: visible!important; }
bostonglobe.com#$#.meter-container { display:none!important; }
 

Alex302

Filters Developer
Staff member
Administrator
iOS Content Blocker doesn't support some types of Adguard rules.
CSS (#$#) and JS(#%#) are not supported.
 

vasily_bagirov

Administrator
Staff member
Administrator
@Briandr as for the convenient way to import rules, the next version we are going to release (tomorrow or on Friday most likely) contains the option to paste several rules at once to the User filter.
 

Briandr

New Member
Hi Alex / Vasily,

Well, I don't know javascript or CSS so not sure how to translate seanl's code over. I primarily wanted it for my main imac computer. But to translate his code to work with something the iPad Content Blocker will accept.....goes above my knowledge.
 

Briandr

New Member
The above code from seanl in CSS what would translate able code for iPad? I don't even know the native code iPad will accept otherwise I'd try to do some digging on my own. Thanks
 

avatar

Administrator
Staff member
Administrator
@Briandr not really, iOS version has limited cosmetic rules support. It is able to remove elements, but not to change page style.
 
Top