Skip to content

Instantly share code, notes, and snippets.

@frunkad
Last active October 15, 2020 16:27
Show Gist options
  • Save frunkad/f40580741262040254b7698fe03167fb to your computer and use it in GitHub Desktop.
Save frunkad/f40580741262040254b7698fe03167fb to your computer and use it in GitHub Desktop.
Quickfeedback 2.0
javascript:(function(){$("div.stars:not(.ng-hide) > .stars > span.stars > input.yn--1").click();$("div.stars:not(.ng-hide) > .stars > span > label.star.star-1").click();var c = prompt("What to fill in input boxes? (Use different each time)");$("div.stars:not(.ng-hide) > textarea").val(c);setTimeout(() => {$("form button.btn.btn-primary").click()}, 1000)})();
@frunkad
Copy link
Author

frunkad commented Oct 14, 2020

An update to previous bookmark feedback trick. Can be used by just editing the previous bookmark, and pasting the above code in URL.

Prefer giving the feedback by yourself instead of using this trick. This trick is for education purpose of how bookmark scripts work, use at your own discretion.

Usage

  1. Go to Chrome Setting and switch on the Show Bookmark Bar

Download Bar

  1. Set any page as a bookmark with Ctrl + D and click Done.
  2. Edit that bookmark's URL and paste the code above. It may sound awkward to paste the code in URL, but that's what you are supposed to do. Save it.

Edit Bookmark
4. Go to icloudEms, begin the feedback and click on the bookmark.

The feedback form is automatically filled.

@djbhavya
Copy link

It's awesome

@frunkad
Copy link
Author

frunkad commented Oct 15, 2020

@Sumatig
Copy link

Sumatig commented Oct 15, 2020

Thank you It saved me today ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment