hs-scripts.com

This is where you should report issues arising from the subscription filters.

Moderator: EasyList authors

Post Reply
HubSpotMarco
New Member
New Member
Posts: 6
Joined: Mon Mar 13, 2017 11:22 am
Reputation: 0

hs-scripts.com

Post by HubSpotMarco » Mon Mar 13, 2017 11:34 am

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.

User avatar
smed79
Liste AR Author
Liste AR Author
Posts: 11828
Joined: Sun Jan 17, 2010 4:00 am
Reputation: 95
Location: EasyList Forum

Post by smed79 » Mon Mar 13, 2017 2:30 pm

•► Before posting, to find your answer fast, read Forum « RULES » and use « Search »
••► Don't post clickable links » use inline text bbcode notation « [ C ] » or « [ code ] »

HubSpotMarco
New Member
New Member
Posts: 6
Joined: Mon Mar 13, 2017 11:22 am
Reputation: 0

Post by HubSpotMarco » Mon Mar 13, 2017 9:44 pm

Yes, this is like that.
The script served from hs-scripts.com doesn't do analytics.

User avatar
fanboy
EasyList Author
EasyList Author
Posts: 9667
Joined: Wed Sep 05, 2007 8:17 pm
Reputation: 16

Post by fanboy » Sun Mar 19, 2017 10:40 am

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.

HubSpotMarco
New Member
New Member
Posts: 6
Joined: Mon Mar 13, 2017 11:22 am
Reputation: 0

Post by HubSpotMarco » Fri Mar 24, 2017 8:28 am

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.

HubSpotMarco
New Member
New Member
Posts: 6
Joined: Mon Mar 13, 2017 11:22 am
Reputation: 0

Post by HubSpotMarco » Wed Apr 05, 2017 8:55 am

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.


HubSpotMarco
New Member
New Member
Posts: 6
Joined: Mon Mar 13, 2017 11:22 am
Reputation: 0

Post by HubSpotMarco » Sun Apr 09, 2017 12:39 pm

Thank you :banana:

HubSpotMarco
New Member
New Member
Posts: 6
Joined: Mon Mar 13, 2017 11:22 am
Reputation: 0

Post by HubSpotMarco » Mon May 08, 2017 2:48 pm

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

Post Reply