james-fray / tab-reloader

Multiple-browser tab reloader extension
https://webextension.org/listing/tab-reloader.html
116 stars 31 forks source link

[Feature request] Refresh tabs with a matching regex #81

Open mat926 opened 3 years ago

mat926 commented 3 years ago

Could you add an option to only refresh tabs whose titles match a regular expression?

CloudItaly commented 3 years ago

Hello! Can you add this features? Thanks. @james-fray

james-fray commented 3 years ago

Sorry for the late reply. You can set up a reloading job based on the hostname as usual and then inject a custom script to stop reloading if the title does not match your regular expression. See FAQ17 for instance (https://add0n.com/tab-reloader.html#faq17)

mat926 commented 3 years ago

Here's an extension that does what I mentioned but only for closing tabs: https://addons.mozilla.org/en-US/firefox/addon/tabautoclose

overtomanu commented 2 years ago

I want to automatically reload one of the sites out of two sites which have same hostname. basically multiple saas apps are hosted from same domain host with different app ids, so reload by matching URL regex would be of great help

Example URLs, does not work outside of internal VPN https://apex.oraclecorp.com/pls/apex/f?p=23471:5:110757619677943::::: https://apex.oraclecorp.com/pls/apex/f?p=9068:1:113963407729633:::::

here 23471 and 9068 are different appids hosted under same domain