[Plugin] Custom Tab


Recommended Posts

4 hours ago, Squid said:

You're accessing your server via https.  Using a custom tab that accesses via http will result in that as its a security violation enforced via browsers.  You can set it to New Tab to get around that.

Thanks for the info. How can I set it to open a new tab?

Link to comment
  • 2 weeks later...

Hi,

 

Thanks a lot for this plugin.

 

I think I have the same blanck page problem as some others who try to add http tab when the unray server is accessed by https.

So I started by creating a new tab for Sabnzb, I added a new port in the Sabnzb container then I mapped this new port to https access in the Sabnzb configuration. now it works. 🤘

 

My question is Should I do the same for all others container applications ?  because I have no clue how to do in plex or krusader...

Do you have maybe an easier workaround ?

 

Thanks a lot and take care

Fab

Link to comment
  • 3 weeks later...

Firstly, cool plugin, well done.

 

My apologies if this has been already asked and I did look at the link on the tab and noticed it was using a JS function, so my example below would not work, but you get the idea.

 

It would be really cool if you could set the link target (IE <a href="..." target="plex">) so that when you choose the "open in new tab" option, it would use the tab/window you already have open from the last time you clicked the link, instead of opening a new window every time you click the link.

 

Thank you in advance for your consideration.

 

Link to comment
  • 2 months later...

Hey Squid...I'm trying to have a custom tab point to my grafana dash.  Server is NOT accessed via HTTPS.  I add the tab, have it go to the URL, save, when I try to go I get this:

 

image.thumb.png.b6886dc721f58581577012be782cd458.png

 

This is the URL in question: http://<serverip>:3000/d/000000001/unraid-system-dashboard?orgId=1&refresh=30s

 

Works fine when put into a browser tab on any browser on my system.

 

Any thoughts?

Link to comment
18 hours ago, Squid said:

I would just go with http://<serverip>:3000 and then see if that works

Getting the same type of thing when using a URL to my SABnzbd docker (http://192.168.0.19/SABnzbd)

 

But it's working properly with my Medusa docker (http://192.168.0.19/Medusa)

 

Link to comment
48 minutes ago, Squid said:

You're doing something, because that is not a URL to the stock SabNZBD  You would normally specify a port.

Apologies - I just right clicked on the link in the bar in the dash.  Here's the config from the plugin showing there's a port (medusa also has a port as you see and it works - which is working as mentioned earlier):

 

image.thumb.png.a3019eb18c84bd9f1de0dfb0bc83c9a0.png

Link to comment
12 hours ago, JasonK said:

Apologies - I just right clicked on the link in the bar in the dash.  Here's the config from the plugin showing there's a port (medusa also has a port as you see and it works - which is working as mentioned earlier):

 

image.thumb.png.a3019eb18c84bd9f1de0dfb0bc83c9a0.png

Quick note - the 192.168.0.65 is an internal IP on my network - and is actually a VM running on unraid - could it be some weird networking issue within unraid preventing it from communicating?  0.19 is the ip of the server.  The server does have a default gateway set to 0.1 (my router)...hmmm....

 

I can get to it without issue from other computers, my phone, etc, all on the same network. 

Link to comment

Probably you're getting nailed by a cross-site security provision enforced by the browsers which won't allow scripts from one domain to be executed on another.  Depends upon how the remote site is actually programmed as to whether this trips the blocking.

Link to comment
  • 3 months later...

On my server, I have two NICs, each set to a different IP. Is there a way I can have the URLs setup so that it uses which ever IP it's currently under?

Like a relative address instead of an absolute address if that makes sense.

 

(The reason I'm needing this is because sometimes one connection goes down and I need to use the other.)

Link to comment
  • 5 weeks later...
On 11/15/2020 at 11:13 AM, Meldrak said:

Hi,

 

It does not work for URL with credentials, page is showing but can't login to my server

I think its a normal behavior ? or is there any tips for that ? I do not want to set my server passwordless

It's a web browser issue !! Works fine with Firefox not with Edge

Link to comment
  • 1 month later...
  • 6 months later...
  • 2 weeks later...
  • 4 weeks later...
On 7/10/2021 at 1:33 PM, SamHill said:

Are we able to have a custom tab open within unraid?

It would nice to have SabNZBD run within unraid, keeping unraids menu on top.

 

Nevermind. Just figured it out.

You were able to get a CustomTab to show SabNZBDs window properly inside the tab?  What did you do to make that work?  Could you show a screencap of your customtab settings for it?

 

Thanks!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.