A CC Only Google Images Bookmarklet By Request – CogDogBlog

“Welcome to CogDogBlog, your call is important to us. Listen carefully as our menu options have recently changed. Press 1 to leave a blog comment. Press 2 to view a random photo. Hit 3 to have us create an old school browser bookmarklet … “

Hmmm, someone pressed the 3 button. This is an outflow from the last hand-thrown post about my hackneyed idea of ​​making Google image search servers only for Creative Commons licensed results.

I usually explained setup too much where I described my multi-year approach of using a browser-saved search. At least someone reads the blog …

And then tossed @ResearchBuzz into the request line. I have to listen to Tara as I’ve been looting links and resources from her site since the web time started.

Just saying “browser bookmarklets” carries over the web equivalent of the Ben Gay scent indicator to the advanced years, but they are something I use several times a day to be efficient and productive in my web habits. I mean, the strategies used to be proactive in finding web information and didn’t rely on what the algorithms were feeding you.

Bookmarklets are nifty, like compact JavaScript code, written as if it were a URL, which usually triggers a faster route to something on the web (well, that’s vague). Somebody is sharing it as a link that you can drag and drop onto your browser bar so it’s available anywhere on the web.

I made my first maybe in 2005 as a tool that provided the ability to create your own custom webpage submission tool for more than one social bookmarking service (squeeze out more Web Ben Gay). After that came a more useful one, which I again created as a web script that could create a custom bookmarklet to search any WordPress site.

I updated this to create a tool for searching WordPress or Blogger blogs. That means I can click on it anywhere on the web to open a dialog box and I can type in keywords to search my own blog. But as they say in late night TV commercials (right?) Buy wait, there’s more! I can also select any text on a webpage and when I click the bookmarklet it will search my blog based on those selected words.

And I use pretty much the same JavaScript that I developed in 2005 to get the selected text (I picked it up from a Google search). The thing I found valuable about my tool making tool is that you can make one to search on any blog, not just mine.

That’s all to say that changing the bookmarklet was easy to create a tool that would allow you to reasonably search for CC licensed images in Google’s stacks. When you’re tired of all the blog blah blah, you can drag this link to your browser bar and see it in action.

I had to make it nicer

I thought it would be more useful and maybe more understandable to post this on github as a website. It took maybe five times as long to design as the bookmarklet, but I like it better.

I set it up to demonstrate the 2 ways it can work. Left click on a button that brings up a dialog box. Enter your keywords and press ENTER (or click OK):

Everyone needs CC licensed pictures of flying dogs!

and see what you get.

It took me longer on the right side. I’ve created a box of words for you to choose and then hit the button to do a search for those terms. I found a way to make sure the selection on the page is only made up of the stupid words in the box.

When you’re ready to use the tool, drag the lower blue button to your browser’s bookmarks bar again. I thought bookmarklets were limited in Firefox, my tests show it works. There is also the possibility that the opening of the results in a new tab / window will be triggered as a blocked popup. This is just a first version so report any issues to me via GitHub issues.

The So What

The interest should not be great. In the end, I did this more as a personal challenge and a little bit of web building. And I gave myself something to blog about. The more I think about it, the more of it I do and the less social media scrolling, the healthier I feel on the web.

These little tools are pretty darn handy. This means that I can do what Stephen recommended with his homepage without having to leave the context of my web attention. As I tried to explain, his approach and mine here don’t address the problem I started with – any changes after this first search (adding keywords) will produce results not limited to CC licensed results.

As I said, I use bookmarklets several times a day. These are my common ones, seen from one corner of the web:

  • flickr cc Created with my Flickr CC Attribution Helper. If this page was for a Flickr image that was CC licensed, it generates attribution text to copy and paste
  • pen I could add this webpage to my pinboard bookmarks. When I select the text written by Stephen it shows up in the description field. Then all I have to do is add tags to add the site. I can do that and not even leave this beautiful and fascinating website
  • way back Open the Internet Archive Wayback Machine to find a URL to look at. Often times I do this to view an earlier version of the current page
  • Bigify URAs one of my little tools, it creates a web pair with the URL of the current one in the largest possible text size (for displaying URLs during presentations / webinars)

Anyway, this new Google CC image search tool could deserve a spot there. And the hell I could easily do one to do the same for Openverse (someone presses 3).

Thanks to @ResearchBuzz we received your request! Press 1 to leave a comment below.

To update: I pressed button 3 for an Openverse tool myself … check https://cogdog.github.io/cc-image-search/openverse.html and of course as blogged here https://cogdogblog.com/2022/01 / could -do not stop/

To update: I was dejected! Always a good thing (well mostly)


Featured Image: Library of Congress Public Domain Image On Request, Waltz by Alan Levine remixed to read “By Request Bookmarklets” and added some background code.

If things like that have any value, please support me by throwing a one-time PayPal snack or monthly on Patreon

Leave a Comment

Your email address will not be published.