Updated Scripts for the New Site

Discussion in 'General' started by Flora, Dec 15, 2017.

  1. parro

    parro User

    Joined:
    May 28, 2016
    Messages:
    4,378
    Likes Received:
    296
    Every time I have HitFinder just so, an update messes it up. I had color scheme Lumen with VisitedLinks in a different color. I don't write Javascript and I got it from someone else, so I don't know where to put it back. It was:

    Code:
    javascript:document.head.insertAdjacentHTML(`beforeend`, `<style>a:visited { color: #DC3545; }</style>`);
     
  2. parro

    parro User

    Joined:
    May 28, 2016
    Messages:
    4,378
    Likes Received:
    296
  3. elt

    elt User

    Joined:
    Feb 19, 2013
    Messages:
    2,228
    Likes Received:
    116
    how could anyone have guessed the MTurk team would push such a dopey change
    a day before a holiday weekend, then go on vacation?
    but I guess they have done it before.

    Kadauchi has said he has no control over the chrome update process
    you can go to the extensions page
    click to enter developer mode
    then change update to manual somehow.
    this will prevent surprise updates

    the disadvantage is, when you want to update,
    you go to the extensions page, click update
    then everything tries to update so you still don't quite have complete control
    but it does give you the chance to wait to see if you can avoid any problems
     
  4. elt

    elt User

    Joined:
    Feb 19, 2013
    Messages:
    2,228
    Likes Received:
    116
    that looks like a bookmarklet, you would have to enter it as a bookmark
    then click on it after hit finder was started every time (or any other page)

    it's a few pages back in this thread too?
    visited links Orange
    Code:
     javascript:document.head.insertAdjacentHTML(`beforeend`,%20`<style>a:visited%20{color:%20#B22222%20!important;}</style>`);
    
     
    parro likes this.
  5. parro

    parro User

    Joined:
    May 28, 2016
    Messages:
    4,378
    Likes Received:
    296
    I meant K's update, not Chrome's. I'd like to be immunized against them.:mad::mad::mad::jail::jail:
     
  6. parro

    parro User

    Joined:
    May 28, 2016
    Messages:
    4,378
    Likes Received:
    296
    Made the bookmark, not working.

    That method didn't work at some point, and a fellow at MTC gave me a line to add to "Inspect," and I just found it.
    document.head.insertAdjacentHTML(`beforeend`, `<style>a:visited { color: #CFB53B; }</style>`);
     
    #396 parro, May 28, 2018
    Last edited: May 28, 2018
  7. elt

    elt User

    Joined:
    Feb 19, 2013
    Messages:
    2,228
    Likes Received:
    116
    too bad we don't have a good way to automate using inspect
    that has the capability to edit the running code of a page or extension

    a bookmarklet will be easier.
    click bookmark this page on any page, then you can edit in the name and the link
    copy the link Kadauchi gave with "important" in it. you can change the color code to anything else

    I tried to make a link in my post so anyone could drag & drop as a bookmark
    but xenfro being supper smart and helpful
    decided that probably was an error on my part and kept erasing the link
     
    #397 elt, May 28, 2018
    Last edited: May 28, 2018
  8. parro

    parro User

    Joined:
    May 28, 2016
    Messages:
    4,378
    Likes Received:
    296
    See my edit #396 above.
     
  9. parro

    parro User

    Joined:
    May 28, 2016
    Messages:
    4,378
    Likes Received:
    296
    I think it would be so useful to learn Javascript, if I had time.
     
    Perkinsj88 likes this.
  10. parro

    parro User

    Joined:
    May 28, 2016
    Messages:
    4,378
    Likes Received:
    296
    And it would be fun. I excelled at learning languages in college, a lifetime ago.
     
  11. FibonacciSequence

    Joined:
    Aug 16, 2013
    Messages:
    396
    Likes Received:
    2

    Thank you~ I see it's been updated.
     
  12. FibonacciSequence

    Joined:
    Aug 16, 2013
    Messages:
    396
    Likes Received:
    2
    Ah, ok.
     
  13. FibonacciSequence

    Joined:
    Aug 16, 2013
    Messages:
    396
    Likes Received:
    2
  14. FibonacciSequence

    Joined:
    Aug 16, 2013
    Messages:
    396
    Likes Received:
    2
    For MTurk Suite where am I looking for this? "New toggles for HIT Tracker stuff on MTurk." Is that the gold arrow next to the Hit title? When I right click on it I only get half of the box. The other half is covered by the right click function of my mouse. Most of the time I have to hit refresh of my computer screen to be able to enable the hover function to view TO1 TO2 and TurkerView. Are you supposed to be able to hover over the gold arrow?

    Edit to add that the Question Mark (Hit Done) and Check Mark (Returned Hit) don't hover anymore.
     
    #404 FibonacciSequence, May 29, 2018
    Last edited: May 29, 2018
  15. parro

    parro User

    Joined:
    May 28, 2016
    Messages:
    4,378
    Likes Received:
    296
    Every time he fixes something, other things are messed up. The orange "Once/Panda" boxes are almost completely gone. I put a note into MTCrowd's thread for MTS :(:worried::mad::mad:
     
  16. parro

    parro User

    Joined:
    May 28, 2016
    Messages:
    4,378
    Likes Received:
    296
    I want to do the same in HitScraper in Chrome--make visited links red. I did it in Settings "VLINK --Default color of visited links"
    but it doesn't work. Would I put my statement in Styles, Console or Elements, and where?
     
    #406 parro, May 30, 2018
    Last edited: May 30, 2018
  17. FibonacciSequence

    Joined:
    Aug 16, 2013
    Messages:
    396
    Likes Received:
    2

    So, I got the hovering to work on all the symbols. If I hit refresh - sometimes more than once - it works. Still not sure what the gold arrow function is for though. Is that to list a hit in a comment in a certain format on one of the forums? I'm using the arrow to distinguish each hit better since I'm using the MakeTitlesFit script. lol.

    I still don't know what
    "New toggles for HIT Tracker stuff on MTurk" looks like though.
     
  18. parro

    parro User

    Joined:
    May 28, 2016
    Messages:
    4,378
    Likes Received:
    296

    I have some time today, although I'm no expert. Where do you see a gold arrow?
     
  19. FibonacciSequence

    Joined:
    Aug 16, 2013
    Messages:
    396
    Likes Received:
    2
    It's next to the Title of the Hit when scrolling the main hit list.
     
  20. Flora

    Flora Administrator
    Staff Member

    Joined:
    Jul 16, 2012
    Messages:
    51,808
    Likes Received:
    6,141
    Those arrows are for copying and pasting the HIT information onto forums or chatrooms.

    When I click on one of them, it'll give me options of how I want to post it, Short, bbcode, plain, markdown or two of the forums. I usually select bbcode for here. Then paste. Like so:

    Title: Pick whether you think the following 100 U.S. Stocks will go up or down tomorrow. | Accept
    Requester: Joe Lo [A2CIK5WEHBJBNU] Contact
    TV: [Hrly=$28.68] [Pay=4.64] [Fast=3.67] [Comm=3.00] [Rej=0] [ToS=0] [Blk=0]
    TO: [Pay=1.79] [Fast=3.40] [Comm=1.00] [Fair=4.11] [Reviews=20] [ToS=0]
    Reward: 0.80
    Duration: 1 hour
    Available: 3
    Description: Give us your opinion about these 100 U.S. Stocks - how will their price move tomorrow?
    Qualifications: Location In US


    This allows people to share HITs with information and clickable links to get into the HIT itself.
     
  21. parro

    parro User

    Joined:
    May 28, 2016
    Messages:
    4,378
    Likes Received:
    296

    Ah, That's why I don't have it. I turned off that feature for lack of time.
     
  22. FibonacciSequence

    Joined:
    Aug 16, 2013
    Messages:
    396
    Likes Received:
    2

    Thank you! I thought it was that but wasn't sure.
     
  23. FibonacciSequence

    Joined:
    Aug 16, 2013
    Messages:
    396
    Likes Received:
    2
    I'm just utilizing the arrows as it helps me see the individual hits better. I am using the MakeTitlesFit script so most rows are several lines wide. Having that gold arrow next to the beginning of each title helps to separate each hit. Originally I didn't like all the colors with the different symbols on each hit but now I'm finding it helpful.
     
  24. parro

    parro User

    Joined:
    May 28, 2016
    Messages:
    4,378
    Likes Received:
    296
    Also, do you know MTS has a big selection of color schemes, if you want good contrast? Click the MTS icon in your toolbar, click Options, and scroll down to Themes.
     
  25. FibonacciSequence

    Joined:
    Aug 16, 2013
    Messages:
    396
    Likes Received:
    2
    It only showed Default, Flately, and Darkly for Mturk. For the Mturk Suite there are a bunch.
     
  26. parro

    parro User

    Joined:
    May 28, 2016
    Messages:
    4,378
    Likes Received:
    296

    MTS, not the forum. I've chosen one for good contrast.
     
  27. FibonacciSequence

    Joined:
    Aug 16, 2013
    Messages:
    396
    Likes Received:
    2
    I'm not looking in the forum. When I click MTS Options and scroll to the bottom the only options I have are the three for Mturk and a bunch for MTS. Which one did you choose for good contrast? I would like to change the word Preview in the main Hit list to change to a darker color other than purple when already viewed.
     
  28. parro

    parro User

    Joined:
    May 28, 2016
    Messages:
    4,378
    Likes Received:
    296
    You're in the right place. Options, scroll down to Themes. Click the double arrow to get the dropdown menu. I'm using Pulse, but you might like something else. I also have a purple theme for Chrome in general.
     
  29. FibonacciSequence

    Joined:
    Aug 16, 2013
    Messages:
    396
    Likes Received:
    2
    Thanks
     
  30. parro

    parro User

    Joined:
    May 28, 2016
    Messages:
    4,378
    Likes Received:
    296
    If you had the answer for my post #406, Id be very grateful.
     

Share This Page