Results 1 to 7 of 7
  1. #1
    Newbie
    Join Date
    Aug 2020
    Posts
    4

    Default Need help to import the easylist to ad blocker

    Hi I would like to try to import the easylist into ad blocker. But it is in text format. And unfortunately, the untangle only support json format. I tried to use php script that was made by WebFool without success. Can anyone help to update the php or show me easier method to import them.

    Thanks in advance !

  2. #2
    Untangle Ninja
    WebFooL's Avatar
    Join Date
    Jan 2009
    Location
    Sweden (Eskilstuna)
    Posts
    5,145

    Default

    Hi mammothrex,

    First Welcome to the forum!
    Yes my old PHP version is for Untangle 9.0 or something like that.

    I think continuing with PHP is just stupid so i wrote a quick Powershell version.
    https://github.com/WebFooL-se/Untangle-Easylist

    There are a few things that can be done better but it works for now.
    Let me know if you have any questions.

  3. #3
    Newbie
    Join Date
    Aug 2020
    Posts
    4

    Default

    Thank you so much for your big help !!!
    Very much appreciated !!

  4. #4
    Newbie
    Join Date
    Aug 2020
    Posts
    4

    Default

    The ps1 scripts run nicely, and I got the output file. I was trying to import it to Ads Filter, and I choose "Append to current settings" when import, as soon as I clicked Save button, the pre-populated within User Defined Filters all disappeared. Is it meant to happen ? or was the import failed ?

  5. #5
    Newbie
    Join Date
    Aug 2020
    Posts
    4

    Default

    Is it the import only accept 2000 entries per import ?

  6. #6
    Untangle Ninja
    WebFooL's Avatar
    Join Date
    Jan 2009
    Location
    Sweden (Eskilstuna)
    Posts
    5,145

    Default

    Just made an update to the script.
    It now works better with handling the whole list and converts to json in a standard way.


    Regarding adding them I have just used "Replace current settings"
    Have not counted the lines after imported but I can see the first line at the top and the last line at the bottom so I think it imports all.

    But the Export seams to have some cap that we are hitting. (Or at least in my test box)

  7. #7
    Newbie
    Join Date
    Sep 2020
    Posts
    11

    Default

    Screen Shot 2020-09-04 at 7.54.56 PM.png

    I'm working on a cool script to allow you to combine multiple lists and then remove duplicates and output a JSON file. Will also have a page you go to that will have already generated JSONs from popular lists I find that will refresh every 24 hours. Just started it yesterday so it may be a little bit before its ready.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2