Question on website "hiding" links

General discussion and chat (archived)
Locked
User avatar
back2themoon
Board Warrior
Board Warrior
Posts: 1865
Joined: 2012-08-19, 20:32

Question on website "hiding" links

Post by back2themoon » 2015-02-04, 11:12

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).

Supernova

Re: Question on website "hiding" links

Post by Supernova » 2015-02-04, 22:45

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.

User avatar
back2themoon
Board Warrior
Board Warrior
Posts: 1865
Joined: 2012-08-19, 20:32

Re: Question on website "hiding" links

Post by back2themoon » 2015-02-05, 14:50

Thanks, I'll try to find it but I suppose it's a security measure that will get disabled?

Supernova

Re: Question on website "hiding" links

Post by Supernova » 2015-02-05, 18:40

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...

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 8882
Joined: 2012-10-09, 19:37
Location: Skaro

Re: Question on website "hiding" links

Post by New Tobin Paradigm » 2015-02-05, 18:43

Unrelated likely some specialized layering html5 js stuff not reading as normal type of link.... better clairification later on mobile
How far are you prepared to go? How much are you prepared to risk? How many people are you prepared to sacrifice for victory?
Are you willing to die friendless, alone, deserted by everyone? Because that's what may be required of you in the war that is to come.

Image

User avatar
back2themoon
Board Warrior
Board Warrior
Posts: 1865
Joined: 2012-08-19, 20:32

Re: Question on website "hiding" links

Post by back2themoon » 2015-04-08, 23:58

Thanks Tobin. Any hope this can be circumvented in some way?

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 8882
Joined: 2012-10-09, 19:37
Location: Skaro

Re: Question on website "hiding" links

Post by New Tobin Paradigm » 2015-04-09, 00:43

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')">
How far are you prepared to go? How much are you prepared to risk? How many people are you prepared to sacrifice for victory?
Are you willing to die friendless, alone, deserted by everyone? Because that's what may be required of you in the war that is to come.

Image

Locked