Change domain using rewrite

Everything about using Adblock Plus on Google Chrome
Post Reply
InterClaw
Posts: 2
Joined: Tue Apr 30, 2019 9:44 am

Change domain using rewrite

Post by InterClaw »

I'm trying to change all occurrences of:
"www.example.com/picture123.jpg"
to:
"www.example.net/picture123.jpg".

I don't need this on a specific page - it can be global, that's fine. So that when I'm on a page if there's a picture to be loaded from example.com it should be loaded from example.net instead.

I've been trying to accomplish this with the $rewrite option and this is what I have so far.

Code: Select all

||www.example.com$rewrite=www.example.net
But when trying to add this filter I just get a message like this:

Code: Select all

Line 42: 
(42 is the line number it's added on)

Could you help me out here? What am I doing wrong? :wink:
InterClaw
Posts: 2
Joined: Tue Apr 30, 2019 9:44 am

Re: Change domain using rewrite

Post by InterClaw »

Okay, so if I understand this correctly, this is no longer possible, since quite recently.
Post Reply