5 ms·
I am using a chrome extension that modifies headers[1]. It modifies headers for reddit images. I have these rules defined inside url:https://preview.redd.
by smusamashah 2y ago
I am using a chrome extension that modifies headers[1]. It modifies headers for reddit images.
I have these rules defined inside
url:https://preview.redd.it/, domain:true, sub:true, header:Accept, add:true, modify:false, remove:false, header_value:image/*
url:https://i.redd.it/, domain:true, sub:true, header:Accept, add:true, modify:false, remove:false, header_value:image/*
With these defined, an image just opens like an image, without any reddit wrapped around it.
[1] https://chromewebstore.google.com/detail/modify-header-value-http/cbdibdfhahmknbkkojljfncpnhmacdek https://chromewebstore.google.com/detail/modify-header-value...
- keybpo 2y agoThanks for this. I just threw your comment on Llama and asked for a userscript that would also be compatible with old reddit. It gave me this https://pastebin.com/0d7mhcBu https://pastebin.com/0d7mhcBu and it's been working fine. I can now middle/right click an image and open it fully in a new tab instead of that new webpage.
- deleted 2y ago[deleted]