4

I use uBlock₀ as my ad-blocker. It has 3 options for dynamic filtering, namely,

  • inline scripts
  • first party scripts
  • third party scripts

What is the difference between inline scripts and first & third party scripts?

I found a wiki page on Dynamic Filtering but it doesn't explain the difference.

I also tried to see if there is a difference between

  • only inline scripts block (1st party script allowed) and
  • only first party scripts block (inline script allowed)

on SuperUser, and found that site functions like "INBOX" and "ACHIEVEMENTS" don't work when inline scripts are blocked, but work even when 1st party scripts are blocked. (see image below)

Can you explain this behaviour?

SuperUser's INBOX feature

5

Inline scripts are scripts written in an <script> block within the HTML page that you load. You can see them by pressing F12 in Firefox, Chrome, IE and Edge.

First-party scripts are scripts that are included in separate .js files but are located on the same domain name as the HTML page. For example, if you are browsing superuser.com, all scripts under superuser.com domain are first-party scripts.

Third-party scripts are scripts that are included in separate .js files but are located on another domain. For example, if you are browsing superuser.com, all scripts under any domain other than superuser.com are third-party.

These options are situational tools. Arbitrary use of them results in impaired web browsing experience. Use them sparingly and be sure you know what you are doing.

| improve this answer | |
  • what are the differences between 3rd-party and 3rd-party scripts? It is explained here but I still can't figure out – Ooker Jan 26 '18 at 15:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.