While reading long discussions on many GO questions, many times I’ve to scroll way up to see exact question, or few minor details! I found scrolling up, while leaving discussion, a bit disturbing as it looses the flow of reading. So, I tried to implement YouTube like PIP mode for questions, where question is fixed at one corner. 

I found it useful and convenient than before, so thought it’s better to share!

Steps:

  1. Open console in browser (Right click anywhere and then select ‘Inspect’, a window will open, select ‘Console’ tab there )
  2. Copy and paste following code:

$('.qa-q-view-content').css({'position': 'fixed', 'z-index': '9999', 'top': '2px', 'width': '30%', 'height': '50%', 'right': '2px', 'border': '2px solid black', 'border-radius': '5px'});

 

Here’s how it looks:

 

 

 

posted in Others Jan 1, 2019
824 views
19
Like
0
Love
0
Haha
2
Wow
0
Angry
0
Sad

6 Comments

6 Comments

Like
Good Job ! we should have this feature.
Like
4

Just made an extension for the same! 

https://github.com/PiratedVirus/PiP-mode-for-GO-questions

Like
I always wondered why this feature is not there on GO, but never knew about the PIP mode.  Great job on writing the code and making a Google extension to make things easier :)
Like

https://gateoverflow.in/3831/gate2005-it-68 : Please check this que in pip, any way to modify this ? @PiratedVirus

Like

@Warrior_19 Thanks for pointing it out! I've updated the code to make PIP movable, so that one could drop it anywhere. That should solve this issue. Please repeat all the steps mentioned in this.

@akshayaK Ummm...that's too lengthy question....but there are very few questions of such length! Initially there was resize function but due to new feature of drag/move anywhere, looks like resize function is not working. If I get free time before 3rd Feb, I'll try to fix it.