Change domain using rewrite

Everything about using Adblock Plus on Google Chrome

Change domain using rewrite

Postby InterClaw » Tue Apr 30, 2019 9:59 am

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

Postby mapx » Tue Apr 30, 2019 10:17 am

User avatar
mapx
 
Posts: 21934
Joined: Thu Jan 06, 2011 3:01 pm

Re: Change domain using rewrite

Postby InterClaw » Tue Apr 30, 2019 10:36 am

Okay, so if I understand this correctly, this is no longer possible, since quite recently.
InterClaw
 
Posts: 2
Joined: Tue Apr 30, 2019 9:44 am


Return to Adblock Plus for Chrome support

Who is online

Users browsing this forum: No registered users and 9 guests