SHANGHAI/NEW YORK – China gave Google Inc approval to keep operating its Chinese search page, resolving a months-long censorship dispute that had threatened its future in the world’s top Internet market. The move, announced by Google on Friday, removes another thorn in US-China relations and reflects Beijing’s desire to be seen as friendly to major foreign companies in spite of ideological differences, analysts said. Shares of Google rose 2.4 percent as the news erased some concerns that China would eject the company for taking a hard line against Internet censorship. But analysts said Google’s position in China remained fragile and that the country likely would account for a fraction of Google’s revenue for some time. “It’s good for Google that they still have some presence. But they’re clearly in a more compromised competitive position,” said Ryan Jacob of the Jacob Internet fund, which holds Google shares. “Google is going to have a very difficult time gaining share, and will probably lose share over time.” Google embarrassed China in January by drawing global attention to Beijing’s Internet censorship practices, a function of the government’s belief that keeping a tight grip on information helps it maintain control. The Internet company also accused Chinese hackers of orchestrating a sophisticated cyber attack on Google and other major US companies. Google then declared that it was no longer willing to offer censored search results. This exacerbated tensions between Washington and Beijing, which were also sparring over China’s currency, US arms sales to Taiwan, and Tibet….