Comments (8)
It was a glitch in the Matrix.
from sox.
fixed
from sox.
The version number is being injected, but, with that code running in a loop I am unable to type or select text from within the issue body.
The looped code should stop executing after the first successful injection of the version number.
We should also change the URL from github.com to github.com/soscripted/sox/issues/new and set a bool flag after it's ran.. What do you think?
from sox.
@enki-code
bool-flag, yes.
but if we change the match URL to that issue link, then it will only work if you land directly onto that page (remember the issue where you needed to refresh to make it work).
from sox.
@enki-code but it works for me... I can type and select... or do you mean somewhere else??
from sox.
I was just coming to update my comment on the url.. you're right, that wouldn't work. 👍 In the issue body, I cannot type or select text because every 2 seconds the text is being replaced
from sox.
@enki-code Do you not have the return;
? That should escape the setInterval..
setInterval(function() {
if($('#issue_body').length) {
var $issue = $('#issue_body'),
issueText = $issue.text();
issueText = issueText.replace('1.X.X', SOX_VERSION); //inject the SOX version by replacing the issue template's placeholder '1.X.X'
issueText = issueText.replace('Chrome/Tampermonkey', SOX_MANAGER); //inject the SOX userscript manager+platfirm by replacing the issue template's placeholder 'Chrome/Tampermonkey'
$issue.text(issueText);
}
// on GitHub, stop execution of the rest of the script.
return;
}, 2000);
from sox.
Issue seems to have been random and neither of us can reproduce. Closing again...
from sox.
Related Issues (20)
- Add mention links for answer HOT 4
- Adding Answers on top bar HOT 2
- Swap shortcuts ctrl k and ctrl l HOT 1
- Remove Diamond on site for mods, keep diamond on other sites HOT 4
- Some broken features HOT 5
- Hide respondents' and commenters' name except on hover HOT 2
- (Down)vote tooltip gets mixed-up with tags and links under the question HOT 1
- live preview while writing a comment
- Settings menu gone HOT 3
- Spirit Icon not showing HOT 1
- Mod diamond in the topbar that has notifications of new questions on a site's meta is missing HOT 2
- Open imgur images as larger modals on click - not working HOT 1
- No SOX features applied, only settings icon visible HOT 22
- Sort the flag-summary based on outcome time, so the top entries are the most recent resolved. HOT 2
- Currently isn't functional on Violentmonkey; gear (settings) button and diamond button (meta notifications) in the topbar are missing HOT 8
- Ballot box in moderator election is hidden HOT 3
- Convert Stackoverflow answers link in another answer into bookmarks HOT 1
- AJAX listeners may be run multiple times for the same event HOT 2
- Customized behaviour for question/answer list on 10k tools page
- "All settings" checkbox is misaligned HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sox.