[Privoxy-users] Help with setting background image (Repost with correct email)
sugarcoded at tutanota.com
sugarcoded at tutanota.com
Tue Aug 24 07:24:24 UTC 2021
Ok :( My last hail Mary was this: https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image It didn't work so I guess a solid color is good enough for me. :( Thank you for your help!
Thank you!
Aug 23, 2021, 21:04 by sugarcoded at tutanota.com:
> Nope........ :( The error is: "GET > http://127.0.0.1/etc/privoxy/templates/img.png> net::ERR_CONNECTION_REFUSED" (I know putting the custom templates there could get removed if there is an update). I also tried using the port number, localhost and even the file:/// protocol. I guess the final answer would be it wont work unless I pull it from a site? I'm guessing just changing some Privoxy code or running a custom script isn't an option either.
>
> Thank you!
>
>
>
> Aug 23, 2021, 17:30 by sugarcoded at tutanota.com:
>
>> I just made a gitlab with everything. I don't know why I didn't think of this earlier. >> https://gitlab.com/sugarcoded/privoxy-theme/-/tree/main
>>
>> Thank you!
>>
>>
>>
>> Aug 23, 2021, 16:18 by sugarcoded at tutanota.com:
>>
>>> New links:
>>> LOG: >>> https://file.re/2021/08/24/logfile/
>>> Image: >>> https://file.re/2021/08/24/error1/
>>>
>>>
>>> Thank you!
>>>
>>>
>>>
>>> Aug 23, 2021, 14:17 by sugarcoded at tutanota.com:
>>>
>>>> Here you go. I did a few refreshes of>>>> >>>> advertisement.com <http://advertisement.com>>>>> >>>> since I am currently working on the "blocked" page right now.
>>>>
>>>> LOG: >>>> https://tmpfiles.org/dl/99544/logfile
>>>> Browser console error: >>>> https://tmpfiles.org/dl/99546/error1.png
>>>>
>>>> Tell me if the links don't work, the site said it only lasts 2 hrs. I did it this way because of the file size limit.
>>>>
>>>>
>>>> Thank you!
>>>>
>>>>
>>>>
>>>> Aug 23, 2021, 10:48 by sugarcoded at tutanota.com:
>>>>
>>>>> Im new to this so I apologize if I do something wrong. I'm struggling to figure out how to set a custom background image on my custom template files using CSS. I'm using "background-image: url(img.png);" in the CSS file. When I run the code on my PC it works perfectly, but when I run it on my privoxy server it tries to call the png from the site that's being blocked. I can share the HTML/template and CSS files if that needed. Any help would be great!
>>>>>
>>>>> Thank you!
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
More information about the Privoxy-users
mailing list