Expand/transform an URL which is inside a credential accessed site
by dedec0 from LinuxQuestions.org on (#5MV89)
Where i study, there is a site which all students use to do things related to the institution. Within this site, there is also access to a subsystem which runs Moodle, and it is used to have areas specific for each discipline, in each moment.
Inside that Moodle, sometimes we have an URL which is shared which students. But this URL is hidden. Id est, it is an URL within the school domain:
https:// virtual. school. br/2021/mod/url/view. php?id=13531
But if we visit that, we will be redirected to (possibly) any external site. And there is the problem: sometimes, teachers shares bad URLs which i *do not* want to visit with the browser profile i use to access the school and other "serious" things.
Pages to expand short/redirected URLs do not work here because they will always give, as result, the URL
https:// systems. school. br/idp/login. jsp
I searched for a browser (Firefox 52, in this situation) extension which could expand this URL, but using my existing session cookies to get the correct result. I did not find (neither for newer Firefox, or other browsers).
This may also be possible to solve with a silly programming in javascript, or in the browser development things. I even thought about opening this thread in the programming or in the general forums. Well, here is a good bet, i think.
Ideas? Solutions?
Inside that Moodle, sometimes we have an URL which is shared which students. But this URL is hidden. Id est, it is an URL within the school domain:
https:// virtual. school. br/2021/mod/url/view. php?id=13531
But if we visit that, we will be redirected to (possibly) any external site. And there is the problem: sometimes, teachers shares bad URLs which i *do not* want to visit with the browser profile i use to access the school and other "serious" things.
Pages to expand short/redirected URLs do not work here because they will always give, as result, the URL
https:// systems. school. br/idp/login. jsp
I searched for a browser (Firefox 52, in this situation) extension which could expand this URL, but using my existing session cookies to get the correct result. I did not find (neither for newer Firefox, or other browsers).
This may also be possible to solve with a silly programming in javascript, or in the browser development things. I even thought about opening this thread in the programming or in the general forums. Well, here is a good bet, i think.
Ideas? Solutions?