Use as Google Chrome bookmark


Brent:

The first thing I'll say is this: I need to fill out the same page multiple times, and the content I need to fill out is mostly the same, but scattered throughout the page.

The solution that came to my mind is: I know there is a way to create some javascript function and put it behind a google bookmark so that when you are on the page just click on that bookmark and it will do something .

I wonder if anyone has used (or created) something like this. If you can make your own, how do you get started? Is it possible to use jquery?

If it's possible to create this file, I'd also like to know if it's possible to show a popup when you click to ask for some parameters, so that I don't need to repeat it 3,4 times

TJ Crowder:

You can use bookmarklets to do this . Bookmarks are bookmarks with a URI (starting with a pseudo-protocol javascript:followed by URI-encoded JavaScript code ) . When you trigger a bookmark, the browser will run the code in the context of the current page. So you'd go to that page, populate your standard info with that bookmark, and you'd be good to go.

For example, here is a bookmark that, at runtime, will look id someElementon the page for an element with , and if found, assign it to its "some value"attribute value:

javascript:(function(){var d=document,e=d.getElementById("someElement");e.value="some value";})();

Related


Use as Google Chrome bookmark

Brent: The first thing I'll say is this: I need to fill out the same page multiple times, and the content I need to fill out is mostly the same, but scattered throughout the page. The solution that came to my mind is: I know there is a way to create some javas

Use as Google Chrome bookmark

Brent: The first thing I'm going to say is this: I need to fill out the same web page multiple times, and the content I need to fill out is mostly the same, but scattered throughout the page. The solution that came to my mind is: I know there is a way to creat

Bookmark in Google Chrome

Scott I am currently running Chrome11. I've been trying to figure out how to bookmark (should be literally dead) and it's driving me nuts. This is the site I'm bookmarking from http://gridder.andreehansson.se/ . First, there doesn't seem to be a bookmarks bar

Google Chrome bookmark issue

Keltari I'm having a weird problem with the Google Chrome bookmarks bar. Every time I install Google Chrome and sync with my GMail account, I add dozens of bookmarked folders to my bookmarks. It's just a duplicate folder and subfolder of one of my bookmarks fo

google chrome bookmark image

Craig Walker Recently, Google added a new interface when users click the star icon in the address bar to add a website to their bookmarks. The UI displays the page title along with everything in the meta description element (if it exists), but I'm wondering if

Google Chrome bookmark issue

Keltari I'm having a weird problem with the Google Chrome bookmarks bar. Every time I install Google Chrome and sync with my GMail account, I add dozens of bookmarked folders to my bookmarks. It's just a duplicate folder and subfolder of one of my bookmarks fo

Bookmark in Google Chrome

Scott I am currently running Chrome11. I've been trying to figure out how to bookmark (should be literally dead) and it's driving me nuts. This is the site I'm bookmarking from http://gridder.andreehansson.se/ . First, there doesn't seem to be a bookmarks bar

google chrome bookmark image

Craig Walker Recently, Google added a new interface when users click the star icon in the address bar to add a website to their bookmarks. The UI displays the page title along with everything in the meta description element (if it exists), but I'm wondering if

Google Chrome reverts to previous bookmark arrangement

Linux user 001 Whenever I rearrange bookmarks on google chrome and close it, it doesn't save the changes. I tried reinstalling google chrome, then logging out and in chrome. It worked initially for about 5 minutes, then stopped saving. I'll do more research on

How to export a single bookmark folder in Google Chrome?

ACP In my bookmarks window, I have two or three folders like asp.netthat, jqueryand sql server. How to export folders jqueryonly from Google Chrome ? Baldwin The Data Liberation Front has a short statement about this: it appears to be possible to export bookma

Change the behavior of bookmark stars in Google Chrome?

Alex Richard Is there any way for a Chrome extension to change the behavior of the Google Chrome bookmarks star button? What I want to do: I want to change the icon of the star (white and yellow filled version) When the new star button is clicked, it should bo

How to get URL icon on bookmark - Google Chrome?

Laev I am using Google Chrome 62.0.3202.75 on Windows 7 64bit OS. For some reason I had to reinstall Windows 7. However, I backed up important settings and files from the system drive, including Google Chrome 's bookmarks file. Then I also installed google chr

Google Chrome reverts to previous bookmark arrangement

Linux user 001 Whenever I rearrange bookmarks on google chrome and close it, it doesn't save the changes. I tried reinstalling google chrome, then logging out and in chrome. It worked initially for about 5 minutes, then stopped saving. I'll do more research on

How to export a single bookmark folder in Google Chrome?

ACP In my bookmarks window, I have two or three folders like asp.netthat, jqueryand sql server. How to export folders jqueryonly from Google Chrome ? Baldwin The Data Liberation Front has a short statement about this: it appears to be possible to export bookma

How to get URL icon on bookmark - Google Chrome?

Laev I am using Google Chrome 62.0.3202.75 on Windows 7 64bit OS. For some reason I had to reinstall Windows 7. However, I backed up important settings and files from the system drive, including Google Chrome 's bookmarks file. Then I also installed google chr

Google Chrome bookmark sync keeps overwriting my bookmarks

Ben Scabia So I recently spent an afternoon rearranging all my bookmarks and then accidentally deleted an important folder (which contained a lot of bookmarks). I managed to restore it by copying bookmarksand bookmarks.bakfiles , and also kept a copy of the ne

Google Chrome bookmark sync keeps overwriting my bookmarks

Ben Scabia So I recently spent an afternoon rearranging all my bookmarks and then accidentally deleted an important folder (which contained a lot of bookmarks). I managed to restore it by copying bookmarksand bookmarks.bakfiles , and also kept a copy of the ne

Bookmark Delete Google Sheets

Jono Ellis I'm looking for a bookmarklet that will delete the current Google Sheets (not a "Move to bin"menu option). As you can see from JavaScript, the "File">"Move to bin"code looks like this: Ih = Ak(uk("docs-trash").label("Move to bin").Ea(765), "trash").

Bookmark Delete Google Sheets

Jono Ellis I'm looking for a bookmarklet that will delete the current Google Sheets (not a "Move to bin"menu option). As you can see from JavaScript, the "File">"Move to bin"code looks like this: Ih = Ak(uk("docs-trash").label("Move to bin").Ea(765), "trash").

Bookmark Delete Google Sheets

Jono Ellis I'm looking for a bookmarklet that will delete the current Google Sheets (not a "Move to bin"menu option). As you can see from JavaScript, the "File">"Move to bin"code looks like this: Ih = Ak(uk("docs-trash").label("Move to bin").Ea(765), "trash").

Bookmark Delete Google Sheets

Jono Ellis I'm looking for a bookmarklet that will delete the current Google Sheets (not a "Move to bin"menu option). As you can see from JavaScript, the "File">"Move to bin"code looks like this: Ih = Ak(uk("docs-trash").label("Move to bin").Ea(765), "trash").

How to Refresh Bookmark Icons in Chrome

Pedwa I updated favicons for a bunch of my sites. Refreshing the site does indeed show the updated favicon in the browser tab, but the bookmarks for those sites still have the old favicon. Besides removing and re-adding each bookmark, is there any way to make

Is there a way to customize bookmark icons in Chrome?

Corey Brigade So I have these bookmarks in Chrome, and some webpages don't actually set icons: Is there anyway to manually assign a small icon to it? Johnny I don't think there's a built-in way to customize your favicon, but you can use a Chrome extension call

How to Refresh Bookmark Icons in Chrome

Pedwa I updated favicons for a bunch of my sites. Refreshing the site does indeed show the updated favicon in the browser tab, but the bookmarks for those sites still have the old favicon. Besides removing and re-adding each bookmark, is there any way to make

Is there a way to customize bookmark icons in Chrome?

Corey Brigade So I have these bookmarks in Chrome, and some webpages don't actually set icons: Is there anyway to manually assign a small icon to it? Johnny I don't think there's a built-in way to customize your favicon, but you can use a Chrome extension call

How can I tell which image Chrome's bookmark manager should use?

Priest In a seemingly random fashion, Chrome's "Bookmark Manager" will select the image it will use as the bookmarked page's thumbnail. In my case, it chose the worst on-page ad. How can I fiddle with other things, like pictures of people? Fodick There is no d