Page 1 of 1
Question on website "hiding" links
Posted: 2015-02-04, 11:12
by back2themoon
Here's a website that when right-clicking on the various news stories, will not allow opening them in new tabs, somehow hiding the links (Firefox too). This is obviously the website's fault, they seem to use some custom mode (in IE a custom context-menu allows opening in new tab). My question is if it's somehow possible to override this and display the links anyway (already contacted them, no reply).
Re: Question on website "hiding" links
Posted: 2015-02-04, 22:45
by Supernova
You need to change a config option in PM.
I don't know what's the exact about:config thing, but from PM commander, go in Security>General.
Uncheck the box which allows javascript to disable or change the right-click context menu.
No site will be able to annoy you with context menu.
Re: Question on website "hiding" links
Posted: 2015-02-05, 14:50
by back2themoon
Thanks, I'll try to find it but I suppose it's a security measure that will get disabled?
Re: Question on website "hiding" links
Posted: 2015-02-05, 18:40
by Supernova
Well, from user side, that's at the contrary a security you add for you against annoying websites.
Both website and user want to control what user can do on the webpage.
Side note still : if the website change the context menu in a way which is useful, you won't be able to benefit of it with that option. However, such websites are so damn rare that I doubt you'll truly encounter it. And as long as you know which workaround to get it back...
Re: Question on website "hiding" links
Posted: 2015-02-05, 18:43
by New Tobin Paradigm
Unrelated likely some specialized layering html5 js stuff not reading as normal type of link.... better clairification later on mobile
Re: Question on website "hiding" links
Posted: 2015-04-08, 23:58
by back2themoon
Thanks Tobin. Any hope this can be circumvented in some way?
Re: Question on website "hiding" links
Posted: 2015-04-09, 00:43
by New Tobin Paradigm
No, not without a custom solution that would only work on that site.. All the article links are driven by javascript as I suspected. There is no traditional <a> html tag for Pale Moon to be able to latch onto.
When you click it it calls a piece of code and THAT code initiates the navigation of the web browser to a new page. Damn stupid if you ask me.. But what isn't these days in an HTML5 world where CSS has functions and Javascript does everything..
Code: Select all
<div id="a1" class="cursor" style=" margin-top:62px;" onclick="goto('article/75660/IMF-has-made-25-billion-profit-out-of-Greece-loans')" onmouseover="currentarticle('article/75660/IMF-has-made-25-billion-profit-out-of-Greece-loans','75660','IMF has made €2.5 billion profit out of Greece loans')">