Giter Club home page Giter Club logo

Comments (6)

lightswitch05 avatar lightswitch05 commented on May 25, 2024

@kyrios21 this isn’t happening.

What is that url for? Could you provide a few more details?

from hosts.

kyrios21 avatar kyrios21 commented on May 25, 2024

Ensure raven.min.js is not loaded from memory cache, then you'll see the error (just hour glass with S symbol).
snap5

from hosts.

lightswitch05 avatar lightswitch05 commented on May 25, 2024

I suggest you contact their help https://help.shopee.co.id and let them know that their entire website breaks if that single script fails to load. Since that script is used to detect errors- it is bad if everything breaks when it fails.

from hosts.

lightswitch05 avatar lightswitch05 commented on May 25, 2024

To anyone following this ticket. RavenJS does not host content or necessary JavaScript. If a website breaks because of this block, it is because they have no error handling logic to handle the blocked domain- not that it is needed. The best course of action is to let the various websites know that their website breaks if cdn.ravenjs.com fails to load.

from hosts.

kyrios21 avatar kyrios21 commented on May 25, 2024

I use my own whitelist (and blacklist) before applying the hosts.
I applied on my router.

curl -o /jffs/hosts http://sbc.io/hosts/alternates/gambling/hosts <<= my preferred hosts provider
sleep 5 <<= optional
fgrep -vf /jffs/wl.txt /jffs/hosts > /jffs/hosts.txt <<= remove address which are in my WL list from hosts
sleep 2 <<= optional
cat /jffs/bl.txt >> /jffs/hosts.txt <<= Append my own BL list into hosts
sleep 2 <<= optional
service dnsmasq restart

So I use hosts.txt instead of hosts

from hosts.

dnmTX avatar dnmTX commented on May 25, 2024

@kyrios21 i'm just curious what you think.This is what i use for my whitelist(it's a small list so far so i'm not sure about the performance hit if it gets bigger):

fori in cat whitelist`; do sed -i "/ $i/d" hosts; done

So which one you'd think will be faster/more efficient?

from hosts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.