UnrealVsCodeHelper icon indicating copy to clipboard operation
UnrealVsCodeHelper copied to clipboard

4/11/2023 NO WORK SEARCH API

Open kone9 opened this issue 2 years ago • 1 comments

Captura de pantalla 2023-11-04 162426 Captura de pantalla 2023-11-04 162625 Captura de pantalla 2023-11-04 162921

kone9 avatar Nov 04 '23 19:11 kone9

Hey sorry for the delay, I'm sadly unable to provide a fix rn that will solve the issue for everyone. This is an issue of the GoogleThis package. (which I'm using to do the google searches) They're is a fix that can be made to solve this, but that require manual change of the GoogleThis package, so until they make a new release that fix the issue this feature will be deactivated by default 😞 I'll keep an eye on it, and once it's fixed I'll push a new version for everyone to use.

Now if your brave enough, here is the manual FIX:

  • Go to your vscode extension folder %USERPROFILE%\.vscode\extensions
  • find my extension hugocabel-uvch-X.X.X (replace the X by the extension version e.g. 1.1.1)
  • open the extension.js file in the dist folder [UvchExtensionFolder]/dist/extension.js
  • change the TITLE value:
    • search for div.ynAwRc.q8U8x.MBeuO.gsrt.oewGkc.LeUQr
    • replace it by: a[role=\"presentation\"][ping][data-ved] div[aria-level=\"3\"][role=\"heading\"]
  • change the DESCRIPTION value:
    • should be next to the TITLE value, otherwise search for div.MUxGbd.yDYNvb
    • replace it by div[data-sncf=\"1\"] div
  • change the URL value:
    • should be next to the DESCRIPTION value, otherwise search for a.C8nzq.BmP5tf
    • replace it by a[role=\"presentation\"][ping][data-ved]

hcabel avatar Mar 17 '24 01:03 hcabel