Page 1 of 1

hs-scripts.com

Posted: Mon Mar 13, 2017 11:34 am
by HubSpotMarco
Filter:

Code: Select all

||hs-scripts.com^$third-party
This domain is used as a layer of indirection to provide website functionality.
The script it returns doesn't do anything tracking related.
Yes, it includes the hs-analytics.net script but that is already blocked by its own rule.

Re: hs-scripts.com

Posted: Mon Mar 13, 2017 2:30 pm
by smed79

Re: hs-scripts.com

Posted: Mon Mar 13, 2017 9:44 pm
by HubSpotMarco
Yes, this is like that.
The script served from hs-scripts.com doesn't do analytics.

Re: hs-scripts.com

Posted: Sun Mar 19, 2017 10:40 am
by fanboy
Came from this commit; https://github.com/easylist/easylist/commit/d241decc1

Code: Select all

https://js.hs-scripts.com/2760806.js
Seems to load plenty of trackers, don't see why it shouldnt be added.

Code: Select all

(function (id, src, attrs) {
  if (document.getElementById(id)) { return; }
  var js = document.createElement('script');
  js.src = src;
  js.type = 'text/javascript';
  js.id = id;
  for (var name in attrs) { if(attrs.hasOwnProperty(name)) { js.setAttribute(name, attrs[name]); } }
  var e = document.getElementsByTagName('script')[0];
  e.parentNode.insertBefore(js, e);
})('hs-analytics', '//js.hs-analytics.net/analytics/1489919700000/2760806.js', {"data-loader":"hs-scriptloader"});

(function (id, src, attrs) {
  if (document.getElementById(id)) { return; }
  var js = document.createElement('script');
  js.src = src;
  js.type = 'text/javascript';
  js.id = id;
  for (var name in attrs) { if(attrs.hasOwnProperty(name)) { js.setAttribute(name, attrs[name]); } }
  var e = document.getElementsByTagName('script')[0];
  e.parentNode.insertBefore(js, e);
})('LeadFlows-2760806', 'https://js.hsleadflows.net/leadflows.js', {"data-leadin-portal-id":2760806,"data-leadin-env":"prod","data-loader":"hs-scriptloader"});

(function (id, src, attrs) {
  if (document.getElementById(id)) { return; }
  var js = document.createElement('script');
  js.src = src;
  js.type = 'text/javascript';
  js.id = id;
  for (var name in attrs) { if(attrs.hasOwnProperty(name)) { js.setAttribute(name, attrs[name]); } }
  var e = document.getElementsByTagName('script')[0];
  e.parentNode.insertBefore(js, e);
})('CollectedForms-2760806', 'https://js.hscollectedforms.net/collectedforms.js', {"data-leadin-portal-id":2760806,"data-leadin-env":"prod","data-loader":"hs-scriptloader"});
If blocking hs-scripts.com prevents trackers from being loaded, I'm all for it.

Re: hs-scripts.com

Posted: Fri Mar 24, 2017 8:28 am
by HubSpotMarco
As it shows in your example https://js.hs-scripts.com/2760806.js loads the following scripts:

https://js.hscollectedforms.net/collectedforms.js
https://js.hsleadflows.net/leadflows.js
//js.hs-analytics.net/analytics/1489919700000/2760806.js


Collected forms and lead flows are both used to show content and optionally depend on analytics to be on the page to do the tracking.

Since hs-analytics.net is already blocked by its own rule the first two script just display content without doing any tracking at all.

Re: hs-scripts.com

Posted: Wed Apr 05, 2017 8:55 am
by HubSpotMarco
To give more context. Historically we used to load other scripts from the analytics js script.
This meant that when analytics was blocked for privacy reasons we failed to provide functionalities as well.

To prevent this we create the script loader that we serve from hs-scripts.com.
This serves as a layer of abstraction that allows functionalities script to be loaded independently. So that each of them can be blocked individually like it already happens for the analytics one.

Example website with content that is being blocked:
http://hub.chooseimpulse.com/real-estate-website-design offers a download link to people that scroll to the bottom of the page.

http://img.ctrlv.in/img/17/03/28/58da5883b3e70.png

This doens't work if hs-scripts.com is blocked.

Re: hs-scripts.com

Posted: Sat Apr 08, 2017 10:50 pm
by fanboy

Re: hs-scripts.com

Posted: Sun Apr 09, 2017 12:39 pm
by HubSpotMarco
Thank you :banana:

Re: hs-scripts.com

Posted: Mon May 08, 2017 2:48 pm
by HubSpotMarco
Hi,
I've noticed that https://js.leadin.com/js/v1/53.js is blocked as well.

That script is just a 302 redirect to https://js.hs-scripts.com/53.js.

Would it be possible to remove that one too?

Thanks,
Marco