question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Script location customization

See original GitHub issue

uBlock Privacy recently got a new rule that blocks Offen script on .com and .de domains:

/^https?:\/\/[-.0-9a-z]+\.(?:com|de)\/script\.js$/$script,1p,strict3p,match-case,domain=com|de

Apparently some not-so-nice analytics service uses /script.js.

It would be nice to be able to rename this script to avoid getting blocked.

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
skozharinovcommented, Nov 10, 2022

I added

  location /newscriptname.js {
     proxy_pass http://offen/script.js;
  }

  location /script.js {
    internal;
  }

to my Nginx configuration, changed script’s url on my website and it seems to be working properly.

0reactions
SoftCreatRcommented, Nov 26, 2022

Yeah, did the same after noticing this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there a standard place for placing custom Linux scripts?
As far as I know there is no place for custom Linux scripts. The directory that should be used for custom install is...
Read more >
Script Location
Scripts reside in the following locations based on scope. Note: The locations below are based on the default installation locations. If a custom...
Read more >
What is the appropriate location for a custom script?
It it's personal script, I think it's better to keep it in ~/bin/ . If it's system-wide (will be used by other users...
Read more >
Storing Scripts in a Custom Directory
Browse to and select the directory in which you want to store scripts, then click on OK. In the New User Variable dialog,...
Read more >
Support installing scripts to custom location #9909
I'm pretty confident our tooling knows the location of each script / entry point, so I think we could just as easily copy...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found