Forum Discussion

Raj_Desh's avatar
Raj_Desh
Copper Contributor
Jun 13, 2022
Solved

Search page of Bing automatically jumping to the top of page.

Hello,   I am just starting a new discussion here in reference to a similar one posted a while back. There is no response since Mar 16, 2021 requesting URL and version which makes no sense. Another...
  • Geekness_'s avatar
    Mar 14, 2023

    So, I switched to Bing a month ago and.. I HAD the same problem, but I just fixed it !


    There's a function in a script file triggered when Bing Search is Out of Focus, waiting for 15 seconds, and then Scroll the page to the top.

     

    Why ? ... I really don't know ... but, who cares ? šŸ˜‰

     

    For Tampermonkey addon users on Chrome, Edge, Safari, Opera and Firefox, the simple way is to install a script like this.

     

    Updated version on GreaseFork ! - See at the bottom of this post for the link.

     

     

    // ==UserScript==
    // @name         FIX for "Bing Search returns to the top" !
    // @namespace    http://tampermonkey.net/
    // @version      0.12
    // @description  Stop doing weird things, Bing ! ;)
    // @author       Geekness
    // @match        http*://www.bing.com/*
    // @icon         https://www.google.com/s2/favicons?sz=64&domain=bing.com
    // @grant        none
    // @license      MIT
    // ==/UserScript==
    
    (function() {
        'use strict';
        AwayTimeThreshold = 2_592_000;
    })();

     

     

    Tampermonkey will say there's an error, saying the variable is not defined, it's normal, don't worry.

     

    Installing Tampermonker and create a new script then pasting my code, is not really difficult if you need a solution.

     

    AwayTimeThreshold defines the waiting time in seconds when the tab is no longer active to scroll up the page. (Default value: 15 seconds)

    Some sort of temporary (but for a long time, i think ^^) solution is to set an impossible value to reach to this variable. (2 592 000 seconds = One month.)

    I currently use this solution, and it works like a charm ! šŸ˜‰

    I could try to make an extension for Chrome and Edge to simplify the solution, but for now, this is a solution.

    Tell me if you need help and share this solution to your friends, co-workers, etc... Thanks !

    Addon Links:

    Tampermonkey - Chrome Web Store (google.com)

    Tampermonkey - Microsoft Edge Addons

    Tampermonkey – For :fox_face: Firefox (fr) (mozilla.org)

     

    Script Link : FIX for "Bing Search returns to the top" ! (greasyfork.org)

Resources