Add news
March 2010 April 2010 May 2010 June 2010 July 2010
August 2010
September 2010 October 2010 November 2010 December 2010 January 2011 February 2011 March 2011 April 2011 May 2011 June 2011 July 2011 August 2011 September 2011 October 2011 November 2011 December 2011 January 2012 February 2012 March 2012 April 2012 May 2012 June 2012 July 2012 August 2012 September 2012 October 2012 November 2012 December 2012 January 2013 February 2013 March 2013 April 2013 May 2013 June 2013 July 2013 August 2013 September 2013 October 2013 November 2013 December 2013 January 2014 February 2014 March 2014 April 2014 May 2014 June 2014 July 2014 August 2014 September 2014 October 2014 November 2014 December 2014 January 2015 February 2015 March 2015 April 2015 May 2015 June 2015 July 2015 August 2015 September 2015 October 2015 November 2015 December 2015 January 2016 February 2016 March 2016 April 2016 May 2016 June 2016 July 2016 August 2016 September 2016 October 2016 November 2016 December 2016 January 2017 February 2017 March 2017 April 2017 May 2017 June 2017 July 2017 August 2017 September 2017 October 2017 November 2017 December 2017 January 2018 February 2018 March 2018 April 2018 May 2018 June 2018 July 2018 August 2018 September 2018 October 2018 November 2018 December 2018 January 2019 February 2019 March 2019 April 2019 May 2019 June 2019 July 2019 August 2019 September 2019 October 2019 November 2019 December 2019 January 2020 February 2020 March 2020 April 2020 May 2020 June 2020 July 2020 August 2020 September 2020 October 2020 November 2020 December 2020 January 2021 February 2021 March 2021 April 2021 May 2021 June 2021 July 2021 August 2021 September 2021 October 2021 November 2021 December 2021 January 2022 February 2022 March 2022 April 2022 May 2022 June 2022 July 2022 August 2022 September 2022 October 2022 November 2022 December 2022 January 2023 February 2023 March 2023 April 2023 May 2023 June 2023 July 2023 August 2023 September 2023 October 2023 November 2023 December 2023 January 2024 February 2024 March 2024 April 2024 May 2024 June 2024 July 2024 August 2024 September 2024 October 2024 November 2024 December 2024 January 2025 February 2025 March 2025 April 2025 May 2025 June 2025 July 2025 August 2025 September 2025 October 2025 November 2025 December 2025
1 2 3 4 5 6 7 8 9 10 11 12 13 14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
News Every Day |

How ChatGPT is helping bend websites to my will

I’m a writer, not a programmer, so until recently a lot of the hype around ChatGPT’s abitilies as a coding tool went over my head.

But then I realized generative AI’s programming powers can be helpful for more than just coders. It can also help anyone else dabble in code to get things done.

In my case, that means creating new browser bookmarklets. These are special kinds of bookmarks that use JavaScript to modify or act on web content, and they’ve always been an underrated web browsing superpower. For years, I’ve used bookmarklets to speed up web videos, remove page clutter, and quickly search my favorite sites, but I’ve always been limited to whatever example code I can find online.

With AI tools like ChatGPT, I can finally make new bookmarklets myself, and the only limit is what I can think to do with them.

ChatGPT’s bookmarklet breakdown

Ironically, my “aha” moment with AI-generated bookmarklets arose while getting frustrated with another AI tool, Amazon’s Rufus shopping assistant. Last year, Amazon removed a feature that let you search through customer reviews and Q&As directly from its product pages, replacing it with the much slower Rufus chatbot.

That got me thinking about a faster way to search Amazon reviews directly. After noticing that Amazon has separate pages for products and customer reviews, each with the same product code in the address, I realized that a bookmarklet cloud allow for faster searching.

Here’s how I asked ChatGPT to make a bookmarklet that searches the customer reviews from an Amazon product page:

Here is a link to an Amazon product page, where the ASIN is B0DHV7LR12: https://www.amazon.com/Baseus-Charging-Certified-Magnetic-Retractable/dp/B0DHV7LR12

Here is a link to a page that searches through customer reviews for that product, where B0DHV7LR12 is still the ASIN, and “test” is the search term: https://www.amazon.com/product-reviews/B0DHV7LR12/ref=cm_cr_arp_d_viewopt_kywd?pageNumber=1&filterByKeyword=test

I want you to make a bookmarklet that, when clicked on an Amazon product page, opens a “Search Amazon reviews:” dialog box. The bookmarklet will then open the corresponding review page with the search term entered in the dialog box. If the bookmarklet is clicked outside of an Amazon product page, display an error message that says “You must be on an Amazon product page to use this bookmarklet.”

This link to my ChatGPT conversation includes both the bookmarklet in question and instructions for installing it. By adding it to your browser’s bookmarks bar, you can click a button from any Amazon page to quickly search its corresponding reviews.

More AI-generated bookmarklets

Feeling satisfied with my Amazon review search bookmarket, I decided to try making some others.

If you want to use any of these yourself, click on the links to each ChatGPT conversation, copy the JavaScript at the bottom of the chat, then create a new bookmark in your browser and paste the JavaScript into the address field:

  • Video Speed: YouTube’s speed controls take too many clicks to access, and I don’t like the default speed increments. I had ChatGPT make a speed-control bookmarklet to my exact specifications, and it works on pretty much any video site, not just YouTube.
  • Hide Stickies: Removes annoying web page elements that follow you around when you scroll, such as menu bars and floating video players.
  • Link Card: I use Obsidian for notetaking, and this bookmarklet converts web links into neatly formatted cards that I can paste into my notes.
  • Link and Excerpt: This helps speed up link sharing on social media. If text is highlighted on a page, clicking the bookmarklet wraps the text in quotes and copies it to the clipboard with the URL underneath. If no text is selected, it just copies the address instead.
  • More Links: Sends the current page to Perplexity with a request for more links to stories that cover the same topic.
  • Clean Link: Copies a link to the current address without common tracking parameters and other junk.
  • Google Maps Search: When clicked, this asks for your destination and starting address, then looks up directions. If you leave the starting address field blank, it just looks up the location instead.
  • Archive Link: Loads an archived snapshot of the current page, as hosted at Archive.Today.

I don’t expect you to use all of these yourself, but hopefully they’ll get you thinking about the kinds of things bookmarklets can accomplish, and how you might use AI to build your own.

One important note: ChatGPT sometimes inserts comment lines (denoted with a // double slash) to explain, but these can prevent the bookmarklets from working properly. Either remove them yourself or instruct the model not to include them.

Why this works

Generative AI is handy for making bookmarklets for a few reasons:

  • The stakes are low: While AI-generated code is causing all sorts of problems for businesses, here you’re just generating JavaScript to automate and improve your own web browsing. You’re not at risk of breaking anything critical.
  • The results are immediate: No extensive testing is necessary to see how your AI-generated bookmarklets perform. Either they work or they don’t.
  • They’re easy to modify: If you want to change some element of your newly created bookmarklets, you can just ask using natural language.
  • You might learn something: If you aspire to learn a little JavaScript yourself, bookmarklets are a simple application with immediate practical benefits. You can look at the code that comes out, compare it with other examples, and ask questions to understand how things work.

In general, bookmarklets work well whenever you want to perform an action on the current URL, modify web page content, or open a specific site’s search page with keywords pre-applied. If you’re not sure where to start, you can always ask your AI chatbot for ideas.

Ria.city






Read also

Report: Vinicius Jr. revealed to his Real Madrid teammates the reason behind 15-game drought as contract saga heats up

Kids left in tears after flight to visit Santa in Lapland was axed on the runway

Wish Book: Heart of the Valley provides valuable assistance to seniors in need

News, articles, comments, with a minute-by-minute update, now on Today24.pro

Today24.pro — latest news 24/7. You can add your news instantly now — here




Sports today


Новости тенниса


Спорт в России и мире


All sports news today





Sports in Russia today


Новости России


Russian.city



Губернаторы России









Путин в России и мире







Персональные новости
Russian.city





Friends of Today24

Музыкальные новости

Персональные новости