Forums

RS-Linkify Thread is sticky

Quick find code: 261-262-33-65181208

Indecent Act

Indecent Act

Posts: 7,456 Rune Posts by user Forum Profile RuneMetrics Profile
Apologies for the slow reply, I'm currently 25,000 light years away from Earth so there is high latency when I post!

Dsctatom said :
This is autoplaying for me

Twitch doesn't honour autoplay for some of their vids. They have known about the bug for some time. Personally I want to abandon them altogether (too many reasons to go into) but I know if I do that I'll be asked to embed again.

Dsctatom said :
While I'm on a roll of adding extra work into your life: have you considered doing away with the qfc method of custom avatars and just linking it to the account?
There are some issues with this. Firstly as you said name changes will break it. People wont be able to disable it or change between avatars. The other thing is where do I put that data? It's not practical for everyone to have a list of all custom avatars, it's also not practical to hit my site for (in theory) up to 10 avatar checks/requests for every page viewed even if they don't use one.

Custom titles are tied to the account, and it works reasonably well. But I don't feel it would work as well for avatars.

Body btw said :
Do you think we'll ever get back the way it was?
If you mean Quick QFC with the popup, then yes :)

Keighlea said :
Speaking of which, I think Indy needs a ­coffee ­<3 -slides her one-
Awesome ty ­<3 :)

Dsctatom said :
document.execCommand('copy') is supported by all browsers (with Safari being questionable) now and is probably the most elegant solution as you merely add it to the click listener.
I'm probably not fully up to date with the clipboard api, but last time I looked at it I was put off by the permissions I had to change for my extension. I'll need to read up.

08-Jul-2015 18:47:29 - Last edited on 08-Jul-2015 19:02:37 by Indecent Act

Dsctatom
Dec Member 2023

Dsctatom

Posts: 12,987 Opal Posts by user Forum Profile RuneMetrics Profile
Indecent Act said :
Twitch doesn't honour autoplay for some of their vids. They have known about the bug for some time. Personally I want to abandon them altogether (too many reasons to go into) but I know if I do that I'll be asked to embed again.


How about allowing us to toggle twitch in the embed settings? If I really wanted to see it, I could follow the URL like I did in the 20s.

Indecent Act said :
It's not practical for everyone to have a list of all custom avatars, it's also not practical to hit my site for (in theory) up to 10 avatar checks/requests for every page viewed even if they don't use one.


If the image was named the same as their avatar and you didn't want all of the additional checks, the qfc could act as a flag rather than the exact image ID. That would allow for not checking every name (custom avatar or not), while also not having to search for an avatar (since it's implied that the username is the image name). This would allow you to go from [qfc id=14-15 page=10000][/qfc] to [qfc id=1-1][/qfc] since you'd only need to see the href of # rather than a number.

Indecent Act said :
I'm probably not fully up to date with the clipboard api, but last time I looked at it I was put off by the permissions I had to change for my extension. I'll need to read up.


Edit: I have tried with a local extension, so it didn't have to go through the additional checks an uploaded extension has, but it didn't appear to need any extra permissions.

08-Jul-2015 19:58:58 - Last edited on 09-Jul-2015 05:49:34 by Dsctatom

Body btw

Body btw

Posts: 19,488 Opal Posts by user Forum Profile RuneMetrics Profile
Indecent Act said :
lbody said:
Do you think we'll ever get back the way it was?
If you mean Quick QFC with the popup, then yes
Indecent Act said :
Ran out of characters, so I'll finish up with...

Hiya Keighlea, Lust, Rowley, lbody and Dsctatom.

Coffee is on me

Yay, thank you x2 ­<3 ^_^
"Why are you posting threads, asking questions and making discussion???"


All I do anymore is fish - 2017

08-Jul-2015 22:06:54

Blasty
Feb Member 2017

Blasty

Posts: 9,319 Rune Posts by user Forum Profile RuneMetrics Profile
Hii :) I need to find myself some reasons to post here more often ;p

About using the clipboard: http://caniuse.com/#feat=clipboard

The support doesn't seem wide enough for use in browsers in general, but it seems to be fully supported in the latest version of chrome. "Chrome 42+ and Opera 29+ support clipboard reading/writing only when part of a user action (click, keydown, etc) "

Indecent Act said :
Amaethwr said :
Interesting poll for sure....

Poll looks nice and seems to work just fine on my phone's chrome browser in a new tab :)

That's good to know, I hadn't thought to try it on my phone. Pretty sure Blasty will be happy to know that too :)


Yay! Someone likes that it's usable for mobile :) :) :)
Blasty
// @BlastytheBlue // Blasty#5167
| Co-owner of Mine Nation

09-Jul-2015 01:40:14 - Last edited on 09-Jul-2015 01:40:45 by Blasty

Dsctatom
Dec Member 2023

Dsctatom

Posts: 12,987 Opal Posts by user Forum Profile RuneMetrics Profile
Blasty said :
The support doesn't seem wide enough for use in browsers in general, but it seems to be fully supported in the latest version of chrome. "Chrome 42+ and Opera 29+ support clipboard reading/writing only when part of a user action (click, keydown, etc) "


I'm surprised it's as wide as it is and that Chrome was actually the one lagging behind the most prior to 43 (which is why I suggested it, since I saw that 43 now supported it). My test (via adding it to the onclick of the QFC via an extension) seemed to work flawlessly in Chrome 45.

Here is the code I used: $(".thread-view__qfc-number").click(function() {document.execCommand('copy')});

09-Jul-2015 03:39:08 - Last edited on 09-Jul-2015 03:58:47 by Dsctatom

Quick find code: 261-262-33-65181208 Back to Top