Comments (6)
Hey @ADTC , I have checked the code and this is the same constant string for ALL the tenants of the app. It doesn't identify you (or anyone else) anyhow:
- doesn't include any information abut the user
- doesn't include any information about GitHub org/repo/whatever.
- doesn't include anything, actually :)
Similarly, when you click on any link, the browser will include "Referer" HTTP header that would include much more information about than this string.
Please let us know if you have any further concerns. Thanks!
from github-for-jira.
Okay, I understand there's no identifying of any particular entity in this.
Now I just want an option to exclude it anyway, so that the URLs are clean without this tracking ID. :)
Do you really need to track clicks on these links? I believe we can just track conversions instead of clicks. As in, whenever someone enters [KEY-123]
and it's converted to a Jira link, track that action of the bot. (But don't track when people are clicking the links.)
from github-for-jira.
If it doesn't identify anything, then why was it added in the first place?
from github-for-jira.
PS: If removing it completely is not an option, please consider if it's possible to change it to a short human-readable alias.
from github-for-jira.
It kills me how hard it is to customize anything in JIRA cloud, almost every CSS class is internal randomly generated strings, if I want to hide a certain class, or make something more visible, or improve the visible design, change a color it makes it next to impossible.
If I want to remove this atlOrigin from links, I have to use something like a TamperMonkey script, forgive the crudeness, I ended up asking ChatGPT to iterate on this, and it's not particularly brilliant at programming.
// ==UserScript==
// @name JIRA Remove atlOrigin Parameter
// @namespace https://atlassian.net
// @version 1.0
// @description Removes atlOrigin parameter from URLs in page source on JIRA sites
// @match *://*.atlassian.net/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
function removeAtlOrigin() {
var elements = document.querySelectorAll('input[aria-hidden="true"], a[aria-hidden="true"]');
elements.forEach(function(element) {
var url = element.value || element.href;
if (url && /^(https?|ftp):\/\/[^\s/$.?#].[^\s]*$/i.test(url)) {
var updatedUrl = url.replace(/([?&])atlOrigin=[^&]+&?/, function(match, p1) {
return p1 === '?' ? '?' : '';
});
updatedUrl = updatedUrl.replace(/\?$/, '');
if (url !== updatedUrl) {
if (element.tagName === 'A') {
element.href = updatedUrl;
} else if (element.tagName === 'INPUT') {
element.value = updatedUrl;
}
}
}
});
}
function observeDOM() {
var targetNode = document.body;
var config = { childList: true, subtree: true };
var observer = new MutationObserver(function(mutationsList) {
for (var mutation of mutationsList) {
var addedNodes = mutation.addedNodes;
addedNodes.forEach(function(node) {
if (node.nodeType === Node.ELEMENT_NODE) {
if (node.querySelectorAll('button[aria-label="Share"]')) {
removeAtlOrigin();
}
}
});
}
});
observer.observe(targetNode, config);
}
window.addEventListener('load', function() {
observeDOM();
});
document.addEventListener('click', function(event) {
if (event.target.matches('button[aria-label="Share"]')) {
console.log('Button clicked:', event.target);
removeAtlOrigin();
}
});
})();
from github-for-jira.
Related Issues (20)
- Unable to see "Development section" in any issue because of the error
- Migrate Github issues into Jira issue HOT 3
- Unnecessary issue edits by JIRA for already linked issue keys HOT 2
- An added repository doesn't appear in the in the project development Section.
- Linking a New Jira Workflow to a Different Organization Only Reveals the Old Repositories HOT 1
- Cannot connect to repo
- Can't connect to non-organization repo HOT 1
- Users unable to find repos that they have access to HOT 2
- Changing branch name prefix HOT 9
- unable to search the repos on github for jira HOT 1
- How to get Information about commits in Jira HOT 2
- Deployment status when using self hosted
- the format is not good when copy/paste prettytable output to worklog in Jira!
- Git notes support HOT 1
- Support for Github projects ? HOT 3
- Consider using environment_url instead of log_url for target environment
- Tracking deployments has limited functionality HOT 1
- Secure Headers are not in use
- Feature Request: Supporting the deployment_review event in GitHub
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 github-for-jira.