vladgba / Back2source

Userscript for redirect to source sites from sites with machine translation, etc.
The Unlicense
37 stars 1 forks source link

newbedev.com #9

Closed CennoxX closed 3 years ago

CennoxX commented 3 years ago

https://newbedev.com/customize-menu-bar-in-notepad https://superuser.com/questions/1176224/customize-menu-bar-in-notepad title, text and tags the same, images imbedded from i.stack.imgur.com

vladgba commented 3 years ago

https://newbedev.com/wordpress/classes/wp_sitemaps_renderer/get_sitemap_index_xml https://developer.wordpress.org/reference/classes/wp_sitemaps_renderer/get_sitemap_index_xml/

https://newbedev.com/how-can-i-connect-to-postgres-running-on-the-windows-host-from-inside-wsl2 https://serverfault.com/questions/1041981/how-can-i-connect-to-postgres-running-on-the-windows-host-from-inside-wsl2

https://newbedev.com/chromedriver-print-to-pdf-after-page-load https://stackoverflow.com/questions/47387776/chromedriver-print-to-pdf-after-page-load

I get the impression that they are taking the first page from search.

P.S. Even if you count all pages as questions from the stack, we have a problem: as far as I understood, the stackoverflow api does not apply to other sites (serverfault, superuser, etc.). Most likely, this will require parsing all their sites and periodically updating the database.

CennoxX commented 3 years ago

That would be a lot of work for one site. I didn't noticed they also took some other documentation (wordpress). For the StackExchange pages they take individual answers to the question title. Can we just add the search bar at the bottom without translating the page?

vladgba commented 3 years ago

https://github.com/vladgba/Back2source/blob/26090da0d7bda5251ff29aac803c5a4f4a91c03d/back2source.user.js#L417-L421 Something like this?

CennoxX commented 3 years ago

That's great! Yes, something like that.